X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=9bcf1278348bc4cda3efe4224c61e4974c5e32e3;hb=83924e2a6d515666785c4e222cc3aacee32e11ce;hp=5d0b2011e005334c7c19da172ac78a1a7b063a74;hpb=5dd39e0fba309bb3af0ca64aea5205f57dfe5d24;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index 5d0b2011..9bcf1278 100644 --- a/docs/types/TaskFunctions.html +++ b/docs/types/TaskFunctions.html @@ -1,13 +1,13 @@ -TaskFunctions | poolifier
+TaskFunctions | poolifier - v3.0.5
-
+
  • The search index is not available
  • poolifier - v3.0.5 +
    @@ -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:46
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file