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.
该方法目前还没办法实现,node 的库是以 stream 的形式实现同步的 TODO: 实现 read 方法
Returns a list listener for a specific emitter event name.
Generated using TypeDoc
Sets or gets the default captureRejection value for all emitters.