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.
Accessors
load
get load(): number
Returns number
Methods
addListener
addListener(event: string | symbol, listener: function): this
Parameters
event: string | symbol
listener: function
(...args: any[]): void
Parameters
Rest...args: any[]
Returns void
Returns this
close
close(): Promise<any>
Returns Promise<any>
consume
consume(methodName: string, ...params: any[]): any
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.