Interface representing a NATS Connection

interface NatsConnection {
    close(): Promise<void>;
    jetstream(options?: NatsJetStreamOptions): NatsJetStreamClient;
    jetstreamManager(options?: NatsJetStreamOptions): Promise<NatsJetStreamManager>;
    mintKey(type: KeyType, params: KeyStoreParams): string;
    transact(): ProviderTransaction;
}

Hierarchy (view full)

Methods