X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=3194d6de0ac98f60b5d07cf0453605161eec218c;hb=134c1944c69547534c725e2ba8ee40fc5dacf147;hp=14a727821b5a21441dee723a96569bc84f27e071;hpb=6047493a00c2852f2c7f4329def8e1322c678cf1;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index 14a72782..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