Aller au contenu
Français

JetStreamClientLike

Ce contenu n’est pas encore disponible dans votre langue.

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

readonly consumers: object

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

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, options?): Promise<unknown>

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

string

Uint8Array

{ lastSequence?: number; }

number

Readonly<Record<string, string>>

string

Promise<unknown>


subscribe(subject, options): Promise<JetStreamSubscriptionLike>

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

string

string

string

Promise<JetStreamSubscriptionLike>