X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=3933e8c8dd644af489d913a49843111cdac2cf15;hb=d5c35d0e8f7a69b946be01bd60f8543384dd11f2;hp=db0b98a57560475956a981641875c63d78a8f908;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index db0b98a5..3933e8c8 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,13 +1,13 @@ -TaskFunctions | poolifier
+TaskFunctions | poolifier - v3.0.0
-
+
  • The search index is not available
  • poolifier - v3.0.0 +
    @@ -15,8 +15,8 @@
  • poolifier
  • TaskFunctions
  • Type alias TaskFunctions<Data, Response>

    -
    TaskFunctions<Data, Response>: Record<string, WorkerFunction<Data, Response>>
    -

    Worker functions that can be executed. +

    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.

    @@ -26,22 +26,22 @@ The value is the function itself.

    • Data = unknown

      -

      Type of data sent to the worker. This can only be serializable data.

      +

      Type of data sent to the worker. This can only be structured-cloneable data.

    • Response = unknown

      -

      Type of execution response. This can only be serializable data.

      +

      Type of execution response. This can only be structured-cloneable data.

    +
  • Defined in src/worker/task-functions.ts:42
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file