X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=298c6a4b8ad53a83e7e4fcd0d2dda09511d3289b;hb=b1a6445cf82a7c06495f1ec774fb7b04fb7f9336;hp=771ab4238c4b5f8479591d04f6c6034b2e870c29;hpb=66fc6ae43f2e7a308cdba9d5038d07cf49b9cda4;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 771ab423..298c6a4b 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,82 +1,6 @@ -TaskFunctions | poolifier - v2.7.5
-
- -
-
-
-
- -

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

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