X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Ftypes%2FTaskAsyncFunction.html;h=d47d492ac16dc9abd5f34e397939eef684c4f510;hb=c8576e5fe740384f6f61316b7f09a788a14ab0ef;hp=ca164837ea9e93fdcc6a4b6ced17bd120b7246f3;hpb=bc3a52f66e9ffce3a796dcd72fef135852fc76b0;p=poolifier.git diff --git a/docs/types/TaskAsyncFunction.html b/docs/types/TaskAsyncFunction.html index ca164837..d47d492a 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.1Type 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