Register a listener to the error event.
'error'
.
The error handler.
Register a listener to the online event.
'online'
.
The online handler.
Register a listener to the exit event.
'exit'
.
The exit handler.
Register a listener to the exit event that will only performed once.
'exit'
.
The exit handler.
Generated using TypeDoc
Basic interface that describes the minimum required implementation of listener events for a pool-worker.