X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Ftypes%2FTaskFunction.html;h=23d2e2e1a963fc5845b22bae8229c5bf7c68c9b5;hb=HEAD;hp=122432419e910932be1a87e4577811bd0a4ccde1;hpb=38e6b85b3247f847b61f30efc37851489f106e8a;p=poolifier.git diff --git a/docs/types/TaskFunction.html b/docs/types/TaskFunction.html index 12243241..1cf7f0ed 100644 --- a/docs/types/TaskFunction.html +++ b/docs/types/TaskFunction.html @@ -1,5 +1,5 @@ -TaskFunction | poolifier - v4.0.5

Type alias TaskFunction<Data, Response>

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

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 +