import { type JetStreamManager } from "https://deno.land/x/natsws@v1.29.2/src/mod.ts";
The API for interacting with JetStream resources
Properties
consumers: ConsumerAPI
JetStream API to interact with Consumers
streams: StreamAPI
JetStream API to interact with Streams
Methods
getAccountInfo(): Promise<JetStreamAccountStats>
Returns JetStreamAccountStats for the current client account.
advisories(): AsyncIterable<Advisory>
Returns an async iteartor
getOptions(): JetStreamOptions
Returns the JetStreamOptions used to create this JetStreamManager
jetstream(): JetStreamClient
Returns a JetStreamClient created using the same options as this JetStreamManager