X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=9a00e50557776821e83d7660f45044eb3d157e50;hb=1352ca70c0b5c6b4ff3813b0c24354b5514b2796;hp=de20e0a27e59094c2813351c6b1c4c70992f9e3a;hpb=cfeb9528531b00167f2e849c8b96709769159598;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index de20e0a2..9a00e505 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,120 +1,6 @@ -TaskFunctions | poolifier - v2.6.32
-
- -
-
-
-
- -

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

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