X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPromiseResponseWrapper.html;h=2080a9addcfb568ef68a4d6eb4f69f2ac915288d;hb=b20bf19abbcc1fb78e71f843d6eb56ad8c4c630c;hp=53c89596ecb7ca988b37ec37cc20b82b5a91fbff;hpb=b73887071ac359b50a7f117a76b3edf268841aac;p=poolifier.git diff --git a/docs/interfaces/PromiseResponseWrapper.html b/docs/interfaces/PromiseResponseWrapper.html index 53c89596..2080a9ad 100644 --- a/docs/interfaces/PromiseResponseWrapper.html +++ b/docs/interfaces/PromiseResponseWrapper.html @@ -1,11 +1,11 @@ -PromiseResponseWrapper | poolifier - v3.0.14

Interface PromiseResponseWrapper<Response>Internal

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

+PromiseResponseWrapper | poolifier - v3.1.12

Interface PromiseResponseWrapper<Response>Internal

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

interface PromiseResponseWrapper {
    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)

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 +
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