Listener -
nats
: Listener
Represents a connection which will be used for subscription.
Constructor
__init
(ConnectionConfig | Connection c)
- c ConnectionConfig | Connection
-
An already established connection or configuration to create a new connection.
LifeCycle Methods
LifeCycle Methods
Binds the NATS consumer to a service.
-
Return Type
(error?) Nil or error upon failure to register listener.