Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DeliveryInfo
import { type DeliveryInfo } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Properties

domain: string

JetStream domain of the message if applicable.

optional
account_hash: string

The hash of the sending account if applicable.

stream: string

The stream where the message came from

consumer: string

The intended consumer for the message.

redeliveryCount: number

The number of times the message has been redelivered.

streamSequence: number

The sequence number of the message in the stream

deliverySequence: number

The client delivery sequence for the message

timestampNanos: number

The timestamp for the message in nanoseconds. Convert with millis(n),

pending: number

The number of pending messages for the consumer at the time the message was delivered.

redelivered: boolean

True if the message has been redelivered.