X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=a59fc3bab92cb1e9b470709564b71396242a1d1f;hb=b20bf19abbcc1fb78e71f843d6eb56ad8c4c630c;hp=1be3faada8a3f4982359c48333dcb3428edce143;hpb=48c6ba05d56af984567ff531fde69cb6d9f9a0fb;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index 1be3faad..a59fc3ba 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,92 +1,5 @@ -TaskSyncFunction | poolifier - v2.7.3
-
- -
-
-
-
- -

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

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