X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;fp=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=845bd4340a5aa41e587169135013a94502b6fd34;hb=772b5f23dd379211a734346981ac26651c9d6802;hp=2d5116faac236a6cf72ac7fea8906c11d745cde3;hpb=48eab5902faccd2b14649e0fe4477778ec70ba96;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index 2d5116fa..845bd434 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -1,11 +1,11 @@ -PromiseResponseWrapper | poolifier - v3.1.29

Interface PromiseResponseWrapper<Response>Internal

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

+PromiseResponseWrapper | poolifier - v3.1.30

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.

-

Generated using TypeDoc

\ 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