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

    Interface BinaryChannelCallbacks

    Events a BinaryChannel reports to its framing state machine.

    interface BinaryChannelCallbacks {
        onBufferedAmountLow: () => void;
        onClosed: () => void;
        onError: (status: NonOkStatus) => void;
        onMessage: (packet: Uint8Array) => void;
        onOpen: () => void;
    }
    Index
    onBufferedAmountLow: () => void

    Wake a sender waiting for transport backpressure to ease.

    onClosed: () => void

    Report that the underlying transport closed.

    onError: (status: NonOkStatus) => void

    End the stream because the underlying transport failed.

    onMessage: (packet: Uint8Array) => void

    Deliver one complete framing packet, not an application message.

    onOpen: () => void

    Report that packets may now be sent.