X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=e77cbe3e653c64c80dea81a07fda6e2dd3c46df5;hb=3c7c9bd12cf4b0cec0e0a3825c31f7cc9f3f58fe;hp=db0b98a57560475956a981641875c63d78a8f908;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index db0b98a5..e77cbe3e 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,4 +1,4 @@ -TaskFunctions | poolifier
+TaskFunctions | poolifier - v2.6.21
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.21
    @@ -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,17 +26,17 @@ 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
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file