Beignet API reference
    Preparing search index...

    Type Alias ServiceContextArgs<Ports, ServiceInput>

    Arguments passed to the context.service factory.

    type ServiceContextArgs<Ports extends AnyPorts = AnyPorts, ServiceInput = void> = {
        input: ServiceInput;
        ports: Ports;
        requestId: string;
        trace: TraceContext;
    }

    Type Parameters

    Index

    Caller-provided input such as the service actor or tenant.

    ports: Ports

    Final app ports, including ports contributed by providers.

    requestId: string

    Fresh correlation ID generated for this service context.

    Fresh W3C trace context generated for this service context. Spread this into the context (...trace) to correlate downstream activity.