X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=12ff8e4a074a5a1d662f5d159dd50f359c4f15ea;hb=f33c2d55c063a50c0025bf707fa4faf7a5e25f6e;hp=7ea1c393837e025c202e4411c6a7ff46a9b4ef0b;hpb=c2d2417cb80d8c14637fe6a19d58bcf5ce18ae98;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 7ea1c393..12ff8e4a 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,4 +1,4 @@ -IPool | poolifier - v2.6.9
+IPool | poolifier - v2.6.12
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.9
+
  • The search index is not available
  • poolifier - v2.6.12
    @@ -46,7 +46,7 @@ +
  • Defined in src/pools/pool.ts:167
  • @@ -81,22 +81,23 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:203
  • emitter?: PoolEmitter

    Emitter on which events can be listened to.

    Events that can currently be listened to:

      -
    • 'full': Emitted when the pool is dynamic and full.
    • -
    • 'busy': Emitted when the pool is busy.
    • +
    • 'full': Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.
    • +
    • 'ready': Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.
    • +
    • 'busy': Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.
    • 'error': Emitted when an uncaught error occurs.
    • 'taskError': Emitted when an error occurs while executing a task.
    +
  • Defined in src/pools/pool.ts:191
  • enableTasksQueue: ((enable, tasksQueueOptions?) => void)
    @@ -125,7 +126,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:228
  • execute: ((data?, name?) => Promise<Response>)
    @@ -155,7 +156,7 @@
    +
  • Defined in src/pools/pool.ts:199
  • info: PoolInfo
    @@ -163,7 +164,7 @@
    +
  • Defined in src/pools/pool.ts:175
  • setTasksQueueOptions: ((tasksQueueOptions) => void)
    @@ -187,7 +188,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:237
  • setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)
    @@ -216,7 +217,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:210
  • setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
    @@ -240,7 +241,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:219
  • workerNodes: IWorkerNode<Worker, Data>[]
    @@ -248,7 +249,7 @@
    +
  • Defined in src/pools/pool.ts:179