X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunction.html;h=f7433c3c5d96c703ceb837042ac12ee8cc06baa5;hb=186417b2eb79b9bcadbf15bd5c53da4dbe6c92e2;hp=c28da59efda800abc13db095c6548c20c949f785;hpb=c5d5cc086c12de1bc8ceb7f6bcda6b8e283ab405;p=poolifier.git diff --git a/docs/types/TaskFunction.html b/docs/types/TaskFunction.html index c28da59e..f7433c3c 100644 --- a/docs/types/TaskFunction.html +++ b/docs/types/TaskFunction.html @@ -1,5 +1,5 @@ -TaskFunction | poolifier - v4.0.8

Type alias TaskFunction<Data, Response>

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

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