X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=c10a9ad48579eca2fbed545308ffe8cacd5d2906;hb=c99df098ff02de4aeb34a422f2ab7c525e7c37ae;hp=3473c74d3b32c5b1d3014e3a9bcb7c6966e0925e;hpb=a47027a0bf90ce21b528708dadd0eb23b5537b43;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index 3473c74d..c10a9ad4 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,129 +1,6 @@ -TaskSyncFunction | poolifier - v2.6.21
-
- -
-
-
-
- -

Type alias TaskSyncFunction<Data, Response>

-
TaskSyncFunction<Data, Response>: ((data?) => Response)
-
-

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.

    -
    -
-
-

Type declaration

-
    -
  • -
      -
    • (data?): Response
    • -
    • -

      Task synchronous function that can be executed.

      -
      -
      -

      Parameters

      -
        -
      • -
        Optional data: Data
      -

      Returns Response

      -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +TaskSyncFunction | poolifier - v3.1.30

Type alias TaskSyncFunction<Data, Response>

TaskSyncFunction<Data, Response>: ((data?) => Response)

Task synchronous function that can be executed.

+

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.

    +

Type declaration

Returns

Execution response.

+
\ No newline at end of file