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

    Type Alias JetStreamManager

    The API for interacting with JetStream resources

    type JetStreamManager = {
        consumers: ConsumerAPI;
        direct: DirectStreamAPI;
        streams: StreamAPI;
        advisories(): AsyncIterable<Advisory>;
        getAccountInfo(): Promise<JetStreamAccountStats>;
        getOptions(): JetStreamOptions;
        jetstream(): JetStreamClient;
    }
    Index

    Properties

    consumers: ConsumerAPI

    JetStream API to interact with Consumers

    API for accessing messages in a stream without using a Consumer. This API can retrieve values from any of the stream replicas, which means that it may not reflect inflight changes to the stream. Direct APIs require the stream to have the direct option enabled.

    streams: StreamAPI

    JetStream API to interact with Streams

    Methods

    • Returns an async iteartor

      Returns AsyncIterable<Advisory>