kkrpc
    Preparing search index...

    Interface RPCStreamResponse

    Stream data or control acknowledgement record.

    interface RPCStreamResponse {
        d?: boolean;
        e?: RPCError;
        id: string;
        sid: string;
        t: "sr";
        v?: unknown;
    }
    Index

    Properties

    Properties

    d?: boolean

    Whether the iterator is done.

    Error payload when the iterator operation failed.

    id: string

    Data message id, or the matching control id for return / throw acknowledgements.

    sid: string

    Stream id this response belongs to.

    t: "sr"

    Message tag for async iterator data and acknowledgements.

    v?: unknown

    Encoded yielded or returned value.