X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=e5ce7776aaadcacabd63e5b914d058cf287ab65b;hb=6ddc8fc5fa990a91503f816001d216a002a3ddae;hp=f03c5e1524817e7c60489193f6fdf90c9622e178;hpb=95c333666812f5db34b93c20d8851f2755d1c920;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index f03c5e15..e5ce7776 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,13 +1,13 @@ -IPool | poolifier - v2.6.34
+IPool | poolifier - v2.6.41
-
+
  • The search index is not available
  • poolifier - v2.6.41 +
    @@ -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,70 +332,30 @@
  • setWorkerChoiceStrategyOptions
  • workerNodes
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file