Beignet API reference
    Preparing search index...

    Interface DevtoolsUseCaseObserverOptions<Ctx>

    Options for createDevtoolsUseCaseObserver(...).

    interface DevtoolsUseCaseObserverOptions<Ctx> {
        getDevtools?: (ctx: Ctx) => DevtoolsPort | undefined;
        getRequestId?: (ctx: Ctx) => string | undefined;
        logErrorEvents?: boolean;
        redact?: DevtoolsRedactor;
    }

    Type Parameters

    • Ctx
    Index

    Properties

    getDevtools?: (ctx: Ctx) => DevtoolsPort | undefined

    Resolve a devtools port from use-case context.

    getRequestId?: (ctx: Ctx) => string | undefined

    Resolve the request ID used for event correlation.

    logErrorEvents?: boolean

    Whether use-case error phases should also emit error events.

    Optional redactor applied before events are recorded.