X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskAsyncFunction.html;h=418cd034a61f86a3d30834ea2a11fa5e8acbdede;hb=f682cfbe8e6e8f9ccc476e15505c914326702a47;hp=ca164837ea9e93fdcc6a4b6ced17bd120b7246f3;hpb=bc3a52f66e9ffce3a796dcd72fef135852fc76b0;p=poolifier.git diff --git a/docs/types/TaskAsyncFunction.html b/docs/types/TaskAsyncFunction.html index ca164837..418cd034 100644 --- a/docs/types/TaskAsyncFunction.html +++ b/docs/types/TaskAsyncFunction.html @@ -1,6 +1,7 @@ -
Execution response promise.
+
Task asynchronous function that can be executed. +
- Preparing search index...
- The search index is not available
poolifier - v4.0.4Type alias TaskAsyncFunction<Data, Response>
Task asynchronous function that can be executed. This function must return a promise.
-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.
-Type declaration
Parameters
Optional
data: DataData sent to the worker.
-Returns Promise<Response>
Settings
Member Visibility
Theme
Generated using TypeDoc