X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FPoolEmitter.html;h=33034a59d7aa2c38b1cad4c6e06045bfb652e75c;hb=c4424e52e4924efa5eef704cb5dcb82f2760e0da;hp=5d097d487c38d2bb19370a724de5d7ca3957faea;hpb=7b88db4b8420d92d98e93c04492319ea814d0fc5;p=poolifier.git diff --git a/docs/classes/PoolEmitter.html b/docs/classes/PoolEmitter.html index 5d097d48..33034a59 100644 --- a/docs/classes/PoolEmitter.html +++ b/docs/classes/PoolEmitter.html @@ -1,4 +1,4 @@ -
Static
captureStatic
defaultname
property is set to 'MaxListenersExceededWarning&
Static
Readonly
error'error'
listener is installed.
'error'
listener is installed.
Symbol
s.
emitter.setMaxListeners(n)
or defaults to
Inherited from EventEmitter.getMaxListeners
.once()
).
once('ping')
lis
EventEmitter
instance. The value can be
Static
getStatic
getStatic
listenerStatic
onStatic
once
Returns the currently set max amount of listeners.
+For
+EventEmitter
s this behaves exactly the same as calling.getMaxListeners
on +the emitter.For
+ +EventTarget
s this is the only way to get the max event listeners for the +event target. If the number of event handlers on a single EventTarget exceeds +the max set, the EventTarget will print a warning.