connect-bidi-web
    Preparing search index...

    Interface HandleBidiSocketOptions

    interface HandleBidiSocketOptions {
        contextValues?: ContextValues;
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index
    contextValues?: ContextValues

    Context values made available to the handler implementation.

    signal?: AbortSignal

    Aborts the in-flight RPC, for example to support graceful server shutdown. Aborting this signal does not close the socket; callers that want the socket closed too should also call close() themselves, or rely on the caller of handleBidiSocket to do so once the returned promise settles.