X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=f79d16eb15e25a47d67a9357a04115d1adcad73b;hb=3b594fe1b0f89d6665da2eb2ebdc14eb7628fe70;hp=d8b3c71cd99b2ec921b6b46abb462cd1cd755d63;hpb=67c6a853287d5c2df8ab115905b714e644333802;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index d8b3c71c..f79d16eb 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -1,11 +1,11 @@ -PromiseResponseWrapper | poolifier - v4.0.9

Interface PromiseResponseWrapper<Response>Internal

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

+PromiseResponseWrapper | poolifier - v4.0.15

Interface PromiseResponseWrapper<Response>Internal

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

interface PromiseResponseWrapper<Response> {
    asyncResource?: AsyncResource;
    reject: ((reason?) => void);
    resolve: ((value) => void);
    workerNodeKey: number;
}

Type Parameters

  • Response = unknown

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

    -

Properties

Properties

asyncResource?: AsyncResource

The asynchronous resource used to track the task execution.

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

Reject callback to reject the promise.

-

Type declaration

    • (reason?): void
    • Parameters

      • Optional reason: unknown

      Returns void

resolve: ((value) => void)

Resolve callback to fulfill the promise.

-

Type declaration

workerNodeKey: number

The worker node key executing the task.

-
\ No newline at end of file +
reject: ((reason?) => void)

Reject callback to reject the promise.

+

Type declaration

    • (reason?): void
    • Parameters

      • Optional reason: unknown

      Returns void

resolve: ((value) => void)

Resolve callback to fulfill the promise.

+

Type declaration

workerNodeKey: number

The worker node key executing the task.

+
\ No newline at end of file