X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=61d1b615339d614f5a4bdc682e20f12d7041e67f;hb=ec06e4dd01adf7aa4bab470c59da42c19d863d0b;hp=880f37c440bf2e0659dc1e61aac46835d22a6a89;hpb=21402562176f7550bcd9ba620cf551972fca6e98;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 880f37c4..61d1b615 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,4 +1,4 @@ -IPool | poolifier
+IPool | poolifier
-
+
@@ -63,7 +63,7 @@

Returns Promise<void>

+
  • Defined in src/pools/pool.ts:120
  • emitter?: PoolEmitter
    @@ -75,16 +75,16 @@
    +
  • Defined in src/pools/pool.ts:109
  • -
    execute: ((data: Data) => Promise<Response>)
    +
    execute: ((data: Data) => Promise<Response>)

    Type declaration

      • -
      • (data: Data): Promise<Response>
      • +
      • (data: Data): Promise<Response>
      • Performs the task specified in the constructor with the data parameter.

        @@ -94,12 +94,12 @@

        Parameters

        • -
          data: Data
          +
          data: Data

          The input for the specified task. This can only be serializable data.

        -

        Returns Promise<Response>

    +
  • Defined in src/pools/pool.ts:116
  • setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
    @@ -121,11 +121,12 @@

    Returns void

    - +
    +
    -
    +
  • destroy
  • +
  • emitter
  • +
  • execute
  • +
  • setWorkerChoiceStrategy
  • + +

    Generated using TypeDoc

    -
    \ No newline at end of file +
    \ No newline at end of file