X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=b314d771a729005b972e962e4556c3111b8d5b84;hb=d655c2c2b159a39f900230c14b301ba123653362;hp=fa5693f5038395cc509a11608b576aba5a23e309;hpb=06fa9e0de6b62965c9dd2fe6023e943f35775026;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index fa5693f5..b314d771 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,33 @@
    +
  • Defined in src/pools/pool.ts:140
  • +
    + +
    enableTasksQueue: ((enable: boolean, tasksQueueOptions?: TasksQueueOptions) => void)
    +
    +

    Type declaration

    +
    execute: ((data: Data) => Promise<Response>)
    @@ -95,9 +124,9 @@
    +
  • Defined in src/pools/pool.ts:157
  • findFreeWorkerNodeKey: (() => number)
    @@ -119,7 +148,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)
    +
    setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN", workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions) => void)

    Type declaration

    +

    Returns void

    +
    + +
    setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions: WorkerChoiceStrategyOptions) => void)
    +
    +

    Type declaration

    +
    +
  • Defined in src/pools/pool.ts:177
  • type: PoolType
    @@ -159,14 +236,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