X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FPoolEmitter.html;h=33034a59d7aa2c38b1cad4c6e06045bfb652e75c;hb=f4ff239c096df6dfb39c94eb3f83fd070d3d85d8;hp=f89d7eb121e62ab87df9075225b03e9708b84904;hpb=44b95861ed9dfa91b25f397c9b3cad9586454546;p=poolifier.git diff --git a/docs/classes/PoolEmitter.html b/docs/classes/PoolEmitter.html index f89d7eb1..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.