X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=e2278410460191b4580765cadd5a6375c322048d;hb=5d9133ae9ef83c5f69e26daf8dcfea584884d9c4;hp=dd3fda1645f4c0e5d667cb2992e7aeb024cb05de;hpb=c11be5eddc7229e4b77105ed27e93697b65d0146;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index dd3fda16..e2278410 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,92 +1,6 @@ -TaskSyncFunction | poolifier - v2.7.2
-
- -
-
-
-
- -

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 - v4.0.2

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