Function: natsWire()
natsWire(
nc):BrokerWire
Defined in: packages/messaging/src/nats.ts:163
Adapts a NATS connection to the BrokerWire port.
Parameters
nc
NatsConnection
A connection, injected: the caller owns connecting and authenticating (see connectNats), and a test passes whatever it has.
Returns
The wire.