NatsBroker.prototype.connect(): Promise<void>
Connects to NATS and ensures the JetStream stream exists.
When the stream is absent and
NatsOptions.streamSubjects was not supplied, or when the
platform refuses the stream read/create
NatsBroker.prototype.connect(): Promise<void>
Connects to NATS and ensures the JetStream stream exists.
When the stream is absent and
NatsOptions.streamSubjects was not supplied, or when the
platform refuses the stream read/create
import { NatsBroker } from "messaging-plugin/src/index.ts";