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

    Type Alias JetStreamOptions

    type JetStreamOptions = {
        apiPrefix?: string;
        domain?: string;
        timeout?: number;
        watcherPrefix?: string;
    }
    Index

    Properties

    apiPrefix?: string

    Prefix required to interact with JetStream. Must match server configuration.

    domain?: string

    Name of the JetStream domain. This value automatically modifies the default JetStream apiPrefix.

    timeout?: number

    Number of milliseconds to wait for a JetStream API request.

    ConnectionOptions.timeout
    

    ConnectionOptions.timeout

    watcherPrefix?: string

    Watcher prefix for inbox subscriptions - these are used for watchers and push consumers. If not set, it uses ConnectionOptions#inboxPrefix