X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=5f870c97a278dc95a4feddd16b673ba2eab00354;hb=19a5bdbdc498f181197b8cf4ffb2cf01b2e64230;hp=991eddc51a6d51095e06920bbeef35ae14a16208;hpb=f9fc489a415da7131735b04b0af50b1143dbdf70;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index 991eddc5..5f870c97 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -1,9 +1,13 @@ -PromiseResponseWrapper | poolifier - v3.0.5

Interface PromiseResponseWrapper<Response>Internal

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

  • PromiseResponseWrapper

Properties

reject +PromiseResponseWrapper | poolifier - v3.1.20

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

reject: ((reason?) => void)

Type declaration

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

      -

      Parameters

      • Optional reason: unknown

      Returns void

resolve: ((value) => void)

Type declaration

    • (value): void
    • Resolve callback to fulfill the promise.

      -

      Parameters

      • value: Response | PromiseLike<Response>

      Returns void

workerNodeKey: number

The worker node key executing the task.

-

Generated using TypeDoc

\ No newline at end of file +

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
    • Reject callback to reject the promise.

      +

      Parameters

      • Optional reason: unknown

      Returns void

resolve: ((value) => void)

Resolve callback to fulfill the promise.

+

Type declaration

    • (value): void
    • Resolve callback to fulfill the promise.

      +

      Parameters

      Returns void

workerNodeKey: number

The worker node key executing the task.

+

Generated using TypeDoc

\ No newline at end of file