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