X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=42a94ebafa20534278976c4a9223294071645a35;hb=e39450c0889208d6dcde666fc05b95fe7a98ee29;hp=379d6c3b358825df2004d517c4ea64c9ed5d3ffc;hpb=842d8918a19fc2720d4436789a2e373bc623452e;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 379d6c3b..42a94eba 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:119
  • @@ -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:163
  • emitter?: PoolEmitter
    @@ -96,7 +86,7 @@
    +
  • Defined in src/pools/pool.ts:142
  • execute: ((data: Data) => Promise<Response>)
    @@ -120,7 +110,7 @@

    Returns Promise<Response>

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