X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunction.html;h=7d0070eaab77bb7139ab194b91b91d81deb82158;hb=14b39b9c09ab382fa25dcb0d52c50b6d05a3affb;hp=23d2e2e1a963fc5845b22bae8229c5bf7c68c9b5;hpb=ae4b149a5078b1da438d30e92a3a5901760bebf2;p=poolifier.git diff --git a/docs/types/TaskFunction.html b/docs/types/TaskFunction.html index 23d2e2e1..7d0070ea 100644 --- a/docs/types/TaskFunction.html +++ b/docs/types/TaskFunction.html @@ -1,5 +1,5 @@ -TaskFunction | poolifier - v4.0.15

Type alias TaskFunction<Data, Response>

Task function that can be executed. +TaskFunction | poolifier - v4.0.15

Type Alias TaskFunction<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.

    -
\ No newline at end of file +
\ No newline at end of file