# README
NATS JetStream
This plugin uses NATS with JetStream to send and receive events.
# Functions
Address of the nats cluster.
Authenticate authenticates the connection with the given username and password.
ClientID sets the client id for the nats connection.
ClusterID sets the cluster id for the nats connection.
DisableDurableStreams will disable durable streams.
Logger sets the underlying logger.
Name allows to add a name to the natsjs connection.
NewStream returns an initialized nats stream or an error if the connection to the nats server could not be established.
NkeyConfig string to use when connecting to the cluster.
SynchronousPublish allows using a synchronous publishing instead of the default asynchronous.
TLSConfig to use when connecting to the cluster.
# Type aliases
Option is a function which configures options.