X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FPoolEmitter.html;h=eb01242b1e639aa9247af79cb885f16816c40c0c;hb=cb4889b43e6935f6dd70d8011ba085c9ca7218ba;hp=1aa7ff6e5363adbaa6a7a4a2563a0fe328dcf749;hpb=8481e318ad9225134cde44c1ccdbb2e9166aaf15;p=poolifier.git diff --git a/docs/classes/PoolEmitter.html b/docs/classes/PoolEmitter.html index 1aa7ff6e..eb01242b 100644 --- a/docs/classes/PoolEmitter.html +++ b/docs/classes/PoolEmitter.html @@ -1,13 +1,13 @@ -PoolEmitter | poolifier - v2.6.41
+PoolEmitter | poolifier - v2.6.41
-
+
@@ -26,26 +26,26 @@
  • PoolEmitter
+
  • Defined in src/pools/pool.ts:39
  • - +

    Constructors

    -

    Properties

    -

    Methods

    -
    addListener +
    addListener emit eventNames getMaxListeners @@ -63,7 +63,7 @@ addAbortListener getEventListeners getMaxListeners -listenerCount +listenerCount on once setMaxListeners @@ -71,7 +71,7 @@

    Constructors

    - +
    • @@ -79,7 +79,7 @@

      Parameters

      • -
        Optional options: EventEmitterOptions
        Optional
    +
    Optional options: EventEmitterOptions

    Returns PoolEmitter

    +
    Rest ...args: any[]

    Returns void

    Returns PoolEmitter

    @@ -205,7 +205,7 @@ to each.

  • eventName: string | symbol
  • -
    Rest ...args: any[]
    Rest
  • +
    Rest ...args: any[]

    Returns boolean

    Since

    v0.1.26

    @@ -260,11 +260,13 @@ in the list of the listeners of the event.

  • eventName: string | symbol

    The name of the event being listened for

    -
  • +
    +
  • Optional listener: Function

    The event handler function

    -
    Optional
  • + +

    Returns number

    Since

    v3.2.0

    @@ -316,7 +318,7 @@ in the list of the listeners of the event.

    Parameters

    +
    Rest ...args: any[]

    Returns void

    Returns PoolEmitter

    @@ -348,11 +350,13 @@ event listener to the beginning of the listeners array.

  • eventName: string | symbol

    The name of the event.

    -
  • +
    +
  • listener: ((...args) => void)

    The callback function

    +
  • Returns PoolEmitter

    @@ -392,11 +396,13 @@ event listener to the beginning of the listeners array.

  • eventName: string | symbol

    The name of the event.

    -
  • +
    +
  • listener: ((...args) => void)

    The callback function

    +
  • Returns PoolEmitter

    @@ -434,11 +440,13 @@ times.

  • eventName: string | symbol

    The name of the event.

    -
  • +
    +
  • listener: ((...args) => void)

    The callback function

    +
  • Returns PoolEmitter

    @@ -474,11 +482,13 @@ listener is removed, and then invoked.

  • eventName: string | symbol

    The name of the event.

    -
  • +
    +
  • listener: ((...args) => void)

    The callback function

    +
  • Returns PoolEmitter

    @@ -534,7 +544,7 @@ component or module (e.g. sockets or file streams).

    Parameters

    +
    Optional event: string | symbol

    Returns PoolEmitter

    Since

    v0.1.26

    @@ -587,7 +597,7 @@ recently added instance. In the example the once('ping')lis

    Parameters

    +
    Rest ...args: any[]

    Returns void

    Returns PoolEmitter

    @@ -717,7 +727,7 @@ the max set, the EventTarget will print a warning.

    - +
    +
  • eventName: string | symbol

    The event name

    -
  • + +

    Returns number

    Since

    v0.9.12

    @@ -768,9 +780,10 @@ composed of the emitted event arguments.

  • eventName: string

    The name of the event being listened for

    -
  • +
    +
  • -
    Optional options: StaticEventEmitterOptions
    Optional
  • +
    Optional options: StaticEventEmitterOptions

    Returns AsyncIterableIterator<any>

    that iterates eventName events emitted by the emitter

    @@ -809,7 +822,7 @@ special handling:

  • eventName: string | symbol
  • -
    Optional options: StaticEventEmitterOptions
    Optional
  • +
    Optional options: StaticEventEmitterOptions

    Returns Promise<any[]>

    Since

    v11.13.0, v10.16.0

    @@ -827,7 +840,7 @@ special handling:

  • eventName: string
  • -
    Optional options: StaticEventEmitterOptions
    Optional
  • +
    Optional options: StaticEventEmitterOptions

    Returns Promise<any[]>