X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=80fef2acd69cec1ba1807014a8d7cb816fc9f474;hb=a5487875b093e7f28bf93ba9cf69b1f2669f6d5a;hp=5d835009294df11ddd18c93e81453fcec6abff23;hpb=7431256d9d5509f4b881cdaa324678f0c2a4cf7f;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 5d835009..80fef2ac 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,82 +1,6 @@ -TaskFunctions | poolifier - v3.0.2
-
- -
-
-
-
- -

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.13

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