X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=627693453325a52f15358667618291bc24d77f16;hb=e372fd5367a524fd030b507e0acc842634c24ad9;hp=5bd504bf0ef3513590ccbc1a27fae19241bfc416;hpb=70a0d99256d476d3815fc545bc86685767aea8c9;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 5bd504bf..62769345 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,7 +1,6 @@ -TaskFunctions | poolifier - v3.1.18

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

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