Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
get role status. Active means that role is enabled. If role is not active, all incoming data to the role will be rejected
Deactivate role. All units will be notified immediately with rebuilding their state
Activate role. All units will be notified immediately with rebuilding their state
Set handler for any incoming message / request / stream request
Set handler for incoming message
Set handler for incoming request for receiving stream data
Set handler for incoming request.
Set handler for incoming request for sending stream data
Generated using TypeDoc
Role represents a service on the local Peer. It should handle incoming messages, requests and stream requests for certain functionality
This class should not be instantiated directly. It is exposed for type declaration and documentation