X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunction.html;h=7d0070eaab77bb7139ab194b91b91d81deb82158;hb=224d008191f52fa20b93e1ba67919569f8d6e315;hp=23d2e2e1a963fc5845b22bae8229c5bf7c68c9b5;hpb=dea42379cfdbcf1c1c9800df7c097eab484ebc07;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