X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunction.html;h=1f71a1eb6d909eaeb5e1db398889d0ef7f546bad;hb=6349b7551b1060472ed8c97dd01ef0c827d62278;hp=00fd7516216cc7b70ee5a8d5edf57660789fdc4d;hpb=c65efde664ab9e4dcd2ed9e827d8171e7e081359;p=poolifier.git diff --git a/docs/types/TaskFunction.html b/docs/types/TaskFunction.html index 00fd7516..aed11fd4 100644 --- a/docs/types/TaskFunction.html +++ b/docs/types/TaskFunction.html @@ -1,117 +1,5 @@ -TaskFunction | poolifier - v2.6.24
-
- -
-
-
-
- -

Type alias TaskFunction<Data, Response>

-
TaskFunction<Data, Response>: TaskSyncFunction<Data, Response> | TaskAsyncFunction<Data, Response>
-

Task function that can be executed. +TaskFunction | poolifier - v3.0.7

Type alias TaskFunction<Data, Response>

TaskFunction<Data, Response>: TaskSyncFunction<Data, Response> | TaskAsyncFunction<Data, Response>

Task function that can be executed. This function can be synchronous or asynchronous.

-
-
-

Type Parameters

-
    -
  • -

    Data = unknown

    -

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

    -
    -
  • -
  • -

    Response = unknown

    -

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

    -
    -
-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file +

Type Parameters

  • Data = unknown

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

    +
  • Response = unknown

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

    +

Generated using TypeDoc

\ No newline at end of file