X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=a489a1e19c6b0233d475fa447dd9c0913c8443aa;hb=67c6a853287d5c2df8ab115905b714e644333802;hp=2f5acd383bf2f0557f58a8aff7583a4366cddc7c;hpb=83924e2a6d515666785c4e222cc3aacee32e11ce;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index 2f5acd38..a489a1e1 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,95 +1,6 @@ -TaskSyncFunction | poolifier - v3.0.5
-
- -
-
-
-
- -

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
        -

        Data sent to the worker.

        -
        -
      -

      Returns Response

      -
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +TaskSyncFunction | poolifier - v4.0.9

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