X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunction.html;h=0f1103abfac9a667c8a8d2c53533339bb4b0b85b;hb=b20bf19abbcc1fb78e71f843d6eb56ad8c4c630c;hp=aed11fd41e0aa5f4cbbe5c80f6ea97f71c5821a4;hpb=6349b7551b1060472ed8c97dd01ef0c827d62278;p=poolifier.git diff --git a/docs/types/TaskFunction.html b/docs/types/TaskFunction.html index aed11fd4..0f1103ab 100644 --- a/docs/types/TaskFunction.html +++ b/docs/types/TaskFunction.html @@ -1,5 +1,5 @@ -TaskFunction | poolifier - v3.0.7

Type alias TaskFunction<Data, Response>

TaskFunction<Data, Response>: TaskSyncFunction<Data, Response> | TaskAsyncFunction<Data, Response>

Task function that can be executed. +TaskFunction | poolifier - v3.1.12

Type alias TaskFunction<Data, Response>

TaskFunction<Data, Response>: TaskSyncFunction<Data, Response> | TaskAsyncFunction<Data, Response>

Task function that can be executed. This function can be synchronous or asynchronous.

Type Parameters

  • Data = unknown

    Type of data sent to the worker. This can only be structured-cloneable data.

  • Response = unknown

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

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file