X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=3933e8c8dd644af489d913a49843111cdac2cf15;hb=b9f66dae32dbfe46e83c7a498c133855fc6af2a2;hp=2d46f3c0fd1051c61c89fa04d736d91c97d0006a;hpb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 2d46f3c0..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,19 +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.

      -
    +
  • 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