X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=3194d6de0ac98f60b5d07cf0453605161eec218c;hb=134c1944c69547534c725e2ba8ee40fc5dacf147;hp=8b373ec573e7bd85b52373fb214e9bd87f3ff685;hpb=d655c2c2b159a39f900230c14b301ba123653362;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index 8b373ec5..3194d6de 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -1,62 +1,60 @@ -PromiseResponseWrapper | poolifier
+PromiseResponseWrapper | poolifier - v2.6.45
-
+
  • The search index is not available
  • poolifier - v2.6.45 +
    -

    Interface PromiseResponseWrapper<Worker, Response>Internal

    +

    Interface PromiseResponseWrapper<Response>Internal

    -

    An object holding the execution response promise resolve/reject callbacks.

    -
    -
    +

    An object holding the task execution response promise resolve/reject callbacks.

    +
    +
    +

    Type Parameters

    -
    +

    Response = unknown

    +

    Type of execution response. This can only be structured-cloneable data.

    +
    +

    Hierarchy

    +
  • Defined in src/utility-types.ts:147
  • - +

    Properties

    -
    - -
    reject: ((reason?: string) => void)
    +
    + +
    reject: ((reason?) => void)

    Type declaration

    • -
        -
      • (reason?: string): void
      • +
          +
        • (reason?): void
        • Reject callback to reject the promise.

          @@ -64,19 +62,20 @@

          Parameters

          • -
            Optional reason: string
    -

    Returns void

    +
    + +
    resolve: ((value) => void)

    Type declaration

    -

    Returns void

    -
    - -
    worker: Worker
    -

    The worker handling the execution.

    -
    +
    + +
    workerNodeKey: number
    +

    The worker node key executing the task.

    +
    +
    +
  • Defined in src/utility-types.ts:159
  • +

    Theme

    -

    On This Page

    +

    On This Page

    +
  • reject
  • +
  • resolve
  • +
  • workerNodeKey
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file