X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=9a00e50557776821e83d7660f45044eb3d157e50;hb=1352ca70c0b5c6b4ff3813b0c24354b5514b2796;hp=452cce6e4f5026aa7661561f338fb024fd6875ba;hpb=a941ca40d6503650aa3bb05f1d4f5946e041f16b;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 452cce6e..9a00e505 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,7 +1,6 @@ -TaskFunctions | poolifier - v3.1.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.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