@gmitch215/folio - v1.0.1
    Preparing search index...

    Class FolioHost

    Same-process execution behind an authenticated fetch handler, with no public code upload.

    Index
    • Parameters

      • options: {
            artifacts: Readonly<Record<string, HostArtifact>>;
            authorize: (request: Request) => boolean | Promise<boolean>;
            limits?: Partial<HostLimits>;
            path?: string;
        }

      Returns FolioHost

    • get activeGroups(): number

      Groups open or opening, counting those still joining their workers.

      Returns number

    • await using support; equivalent to close().

      Returns Promise<void>

    • Refuses new sessions, then joins every group's workers and pending effects.

      Returns Promise<void>

    • The authenticated handler to mount behind a service binding or an HTTP server.

      Parameters

      • request: Request

      Returns Promise<Response>