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

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 +