kkrpc
    Preparing search index...

    Interface RPCStreamRequest

    Control record for pulling or closing a remote async iterator.

    interface RPCStreamRequest {
        id: string;
        n?: number;
        op: RPCStreamOperation;
        sid: string;
        t: "sq";
        v?: unknown;
    }
    Index

    Properties

    Properties

    id: string

    Control id. return and throw controls receive an acknowledgement with this id.

    n?: number

    Number of chunks the producer may send for a pull control.

    Stream operation to perform.

    sid: string

    Stream id allocated by the side that owns the local async iterator.

    t: "sq"

    Message tag for async iterator control messages.

    v?: unknown

    Encoded value passed to return() or throw().