X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=c7323502811497d57439240f1692d47b9ae3f03b;hb=1d9e702392092e351b448175a77c16234eec9212;hp=68183a8fc4ca9065feb7818590e33e833ad4d03b;hpb=d49303bcd1dc86f36030dff08796f869681d4eae;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 68183a8f..c7323502 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -31,7 +31,7 @@
  • Response = unknown

    -

    Type of response of execution. This can only be serializable data.

    +

    Type of execution response. This can only be serializable data.

  • Hierarchy

    @@ -42,7 +42,7 @@
    +
  • Defined in src/pools/pool.ts:120
  • @@ -50,28 +50,18 @@

    Properties

    -
    - -
    busy: boolean
    -

    Whether the pool is busy or not.

    -

    The pool busyness boolean status.

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

    Type declaration

    @@ -84,7 +74,7 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:164
  • emitter?: PoolEmitter
    @@ -96,7 +86,7 @@
    +
  • Defined in src/pools/pool.ts:143
  • execute: ((data: Data) => Promise<Response>)
    @@ -120,7 +110,7 @@

    Returns Promise<Response>

    +
  • Defined in src/pools/pool.ts:160
  • findFreeWorkerNodeKey: (() => number)
    @@ -139,15 +129,7 @@

    Returns number

    -
    - -
    full: boolean
    -

    Whether the pool is full or not.

    -

    The pool filling boolean status.

    -
    +
  • Defined in src/pools/pool.ts:153
  • setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
    @@ -169,7 +151,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:170
  • type: PoolType
    @@ -177,14 +159,14 @@

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

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

    Pool worker nodes.

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