X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=143016d733dec7ba2af14088f9e68daa9ac12b82;hb=ef41a6e6f04e66c9732334e673758b2f4e4b0730;hp=3ff97450c4e8cda5fbd5dd529f938371d91b729d;hpb=b45edd35eec0fb1d5fd8fa979ff00f17f4e3c24e;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 3ff97450..143016d7 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -42,7 +42,7 @@ +
  • Defined in src/pools/pool.ts:119
  • @@ -52,9 +52,12 @@

    Properties

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

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:163
  • emitter?: PoolEmitter
    @@ -86,7 +89,33 @@
    +
  • Defined in src/pools/pool.ts:142
  • +
    + +
    enableTasksQueue: ((enable: boolean, tasksQueueOptions?: TasksQueueOptions) => void)
    +
    +

    Type declaration

    +
    execute: ((data: Data) => Promise<Response>)
    @@ -95,9 +124,9 @@
    +
  • Defined in src/pools/pool.ts:159
  • findFreeWorkerNodeKey: (() => number)
    @@ -119,7 +148,7 @@
    +
  • Defined in src/pools/pool.ts:152
  • +
    + +
    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:179
  • type: PoolType
    @@ -159,14 +236,14 @@

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

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

    Pool worker nodes.

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