X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Ftypes%2FTaskSyncFunction.html;h=b45eb284aa9027da55c9ea1e2835846a06c0039a;hb=cda623c57bf49a82b898aadf180a68130df34507;hp=c4ccffa0bf6ed4a32de0c3771ac68966f8bc49ec;hpb=41e3e08eb7fbcde0a69cea17e697aacb222990a6;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index c4ccffa0..b45eb284 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,92 +1,5 @@ -TaskSyncFunction | poolifier - v2.6.45
-
- -
-
-
-
- -

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.0.13

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