Skip to content

JetStreamClientLike

Defined in: src/io/broker/JetStreamActor.ts:577

readonly consumers: object

Defined in: src/io/broker/JetStreamActor.ts:592

Pull-consumer accessor (#62). Returns a handle that exposes fetch for batched on-demand delivery — see the nats.js consumers.get(stream, durable) API.

get(stream, durable): Promise<PullConsumerLike>

string

string

Promise<PullConsumerLike>

publish(subject, payload, opts?): Promise<unknown>

Defined in: src/io/broker/JetStreamActor.ts:578

string

Uint8Array

{ lastSequence?: number; }

number

Readonly<Record<string, string>>

string

Promise<unknown>


subscribe(subject, opts): Promise<JetStreamSubscriptionLike>

Defined in: src/io/broker/JetStreamActor.ts:583

string

string

string

Promise<JetStreamSubscriptionLike>