X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=6e2db3c6c9aabbadad1badb107aa34773929eaa1;hb=3dba671e8b5f66e6598e3cc25a3472b27391e8ed;hp=2e1f29a2881345da65abe88bd40f5624612d11f0;hpb=47c9cec4c0a1a871153e1811ec6d95c90d2c86d1;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 2e1f29a2..6e2db3c6 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,4 +1,4 @@ -IPool | poolifier - v2.6.9
+IPool | poolifier - v2.6.21
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.9
+
  • The search index is not available
  • poolifier - v2.6.21
    @@ -46,7 +46,7 @@ +
  • Defined in src/pools/pool.ts:167
  • @@ -76,12 +76,12 @@
    • (): Promise<void>
    • -

      Terminates every current worker in this pool.

      +

      Terminates all workers in this pool.

      Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:203
  • emitter?: PoolEmitter
    @@ -89,7 +89,7 @@

    Events that can currently be listened to:

    • '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 maximum size expected and are ready.
    • +
    • '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.
    • @@ -97,7 +97,7 @@
    +
  • Defined in src/pools/pool.ts:191
  • enableTasksQueue: ((enable, tasksQueueOptions?) => void)
    @@ -126,7 +126,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:228
  • execute: ((data?, name?) => Promise<Response>)
    @@ -144,19 +144,19 @@

    Returns Promise<Response>

    Promise that will be fulfilled when the task is completed.

    +
  • Defined in src/pools/pool.ts:199
  • info: PoolInfo
    @@ -164,7 +164,7 @@
    +
  • Defined in src/pools/pool.ts:175
  • setTasksQueueOptions: ((tasksQueueOptions) => void)
    @@ -188,7 +188,7 @@

    Returns void

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

    Returns void

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

    Returns void

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