Beignet API reference
    Preparing search index...

    Type Alias ServerContextConfig<Ctx, Ports, ServiceInput>

    ServerContextConfig: [Ctx] extends [{ gate: unknown }]
        ? ServerContextOptions<Ctx, Ports, ServiceInput>
        :
            | ((args: RequestContextArgs<Ports>) => MaybePromise<Ctx>)
            | ServerContextOptions<Ctx, Ports, ServiceInput>

    Context configuration accepted by createServer(...).

    Contexts without a gate property may use the plain request-factory shorthand. Contexts with a gate must use the blueprint form so the server owns gate attachment.

    Type Parameters