X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=8737c96d5ac6ed261dea6c0939fc504e55ec32ba;hb=23919b9e65a6ac78db29d8309aec261fffe36bb1;hp=2baa9387732d0d6ef7e4fe650c7551c9672501f9;hpb=3fca3a00e737361a87f923cc85fc027cd06e347d;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 2baa9387..8737c96d 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,7 +1,6 @@ -TaskFunctions | poolifier - v3.1.7

Type alias TaskFunctions<Data, Response>

TaskFunctions<Data, Response>: Record<string, TaskFunction<Data, Response>>

Tasks functions that can be executed. -This object can contain synchronous or asynchronous functions. -The key is the name of the function. -The value is the function itself.

-

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.

    -

Generated using TypeDoc

\ No newline at end of file +TaskFunctions | poolifier - v4.0.8

Type alias TaskFunctions<Data, Response>

TaskFunctions<Data, Response>: Record<string, TaskFunction<Data, Response> | TaskFunctionObject<Data, Response>>

Tasks functions that can be executed. +The key is the name of the task function or task function object. +The value is the task function or task function object.

+

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