A11 TypeScript API - v0.2.1
    Preparing search index...

    Class SessionWithRecv

    Pull-oriented Session with a one-slot inbound backpressure handoff.

    Use this when an agent owns an explicit while (await receive()) loop. It replaces stream callbacks with receiveWithStreamId; action and node auto-dispatch are therefore the caller's choice. A clean session half-close produces null once, while an abort remains a structured error.

    Hierarchy (View Summary)

    Index
    • Begin clean shutdown and half-close every active stream with OK trailers. Existing inbound work may still arrive and attached streams must still finish before done resolves.

      Returns Status

    • Whether every attached stream has completed and state is fully quiescent.

      Returns boolean

    • Replace the node map and rebind active actions. Existing fragments remain in the old map, so prefer configuring this before traffic starts rather than splitting a live action's state.

      Parameters

      Returns Status