X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=d8db2d20198d8e9160999648076707e9f1c3202d;hb=c4d8442aed5e5a9d6cde9f3bfd721be3033c1eef;hp=49561424d415e22520b0d7118a81b4e3afe65aa4;hpb=e907c7098316b8b10928c2a716626c710457ae27;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 49561424..d8db2d20 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,13 +1,13 @@ -IPool | poolifier - v2.6.32
+IPool | poolifier - v2.6.44
-
+
  • The search index is not available
  • poolifier - v2.6.44 +
    @@ -46,15 +46,15 @@ +
  • Defined in src/pools/pool.ts:182
  • - +

    Properties

    -
    destroy +
    destroy emitter? enableTasksQueue execute @@ -69,7 +69,7 @@

    Properties

    - +
    destroy: (() => Promise<void>)

    Type declaration

    @@ -83,7 +83,7 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:235
  • emitter?: PoolEmitter
    @@ -91,9 +91,9 @@

    Events that can currently be listened to:

    • '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.
    • +
    • 'busy': Emitted when the number of workers created in the pool has reached the maximum size expected and are executing concurrently their tasks quota.
    • 'full': Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.
    • -
    • 'destroy': Emitted when the pool is destroyed.
    • +
    • 'destroy': Emitted when the pool is destroyed.
    • 'error': Emitted when an uncaught error occurs.
    • 'taskError': Emitted when an error occurs while executing a task.
    • 'backPressure': Emitted when all worker nodes have back pressure (i.e. their tasks queue is full: queue size >= maximum queue size).
    • @@ -101,7 +101,7 @@
    +
  • Defined in src/pools/pool.ts:218
  • enableTasksQueue: ((enable, tasksQueueOptions?) => void)
    @@ -130,7 +130,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:266
  • execute: ((data?, name?, transferList?) => Promise<Response>)
    @@ -165,7 +165,7 @@
    +
  • Defined in src/pools/pool.ts:227
  • hasWorkerNodeBackPressure: ((workerNodeKey) => boolean)
    @@ -190,7 +190,7 @@
    +
  • Defined in src/pools/pool.ts:204
  • info: PoolInfo
    @@ -198,7 +198,7 @@
    +
  • Defined in src/pools/pool.ts:190
  • listTaskFunctions: (() => string[])
    @@ -215,7 +215,7 @@
    +
  • Defined in src/pools/pool.ts:241
  • setTasksQueueOptions: ((tasksQueueOptions) => void)
    @@ -239,7 +239,7 @@

    Returns void

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

    Returns void

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

    Returns void

    +
  • Defined in src/pools/pool.ts:257
  • workerNodes: IWorkerNode<Worker, Data>[]
    @@ -300,20 +300,20 @@
    +
  • Defined in src/pools/pool.ts:196
  • @@ -332,68 +332,30 @@
  • setWorkerChoiceStrategyOptions
  • workerNodes
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file