X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=394e14c9f03a68fa75aa5f00554442a72060ac1e;hb=6047493a00c2852f2c7f4329def8e1322c678cf1;hp=c7323502811497d57439240f1692d47b9ae3f03b;hpb=a20f0ba5aa9c6946254aa197286ad9b70b6a0319;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index c7323502..394e14c9 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -42,7 +42,7 @@ +
  • Defined in src/pools/pool.ts:117
  • @@ -52,9 +52,12 @@

    Properties

    @@ -74,7 +77,7 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:161
  • emitter?: PoolEmitter
    @@ -86,7 +89,31 @@
    +
  • Defined in src/pools/pool.ts:140
  • +
    + +
    enableTasksQueue: ((enable: boolean, opts?: TasksQueueOptions) => void)
    +
    +

    Type declaration

    +
    execute: ((data: Data) => Promise<Response>)
    @@ -95,9 +122,9 @@
    +
  • Defined in src/pools/pool.ts:157
  • findFreeWorkerNodeKey: (() => number)
    @@ -119,7 +146,7 @@
    +
  • Defined in src/pools/pool.ts:150
  • +
    + +
    setTasksQueueOptions: ((tasksQueueOptions: TasksQueueOptions) => void)
    +
    +

    Type declaration

    +
    setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
    @@ -138,7 +187,7 @@
    +
  • Defined in src/pools/pool.ts:167
  • +
    + +
    setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions: WorkerChoiceStrategyOptions) => void)
    +
    +

    Type declaration

    +
    type: PoolType
    @@ -159,14 +230,14 @@

    If it is 'dynamic', it provides the max property.

    +
  • Defined in src/pools/pool.ts:127
  • workerNodes: WorkerNode<Worker, Data>[]

    Pool worker nodes.

    +
  • Defined in src/pools/pool.ts:131