@nats-io/jetstream
    Preparing search index...

    Type Alias Heartbeat

    Notifies that the client received a server-side heartbeat. The payload the data portion has the format {natsLastConsumer: number, natsLastStream: number};

    type Heartbeat = {
        lastConsumerSequence: number;
        lastStreamSequence: number;
        stalled?: boolean;
        type: "heartbeat";
    }
    Index
    lastConsumerSequence: number
    lastStreamSequence: number
    stalled?: boolean

    True if the server reported the consumer as stalled waiting on flow control

    type: "heartbeat"