X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunctions.html;h=9bcf1278348bc4cda3efe4224c61e4974c5e32e3;hb=83924e2a6d515666785c4e222cc3aacee32e11ce;hp=db0b98a57560475956a981641875c63d78a8f908;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/types/TaskFunctions.html b/docs/types/TaskFunctions.html index db0b98a5..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,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:46
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file