X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=9b0e5dc37ef85461062e745ae54eb2f5fbcfa71b;hb=7d766fdcc503b3ad3ab1db98e569cd7d98becd66;hp=e487af65e144040b9aa4bb11fc02f70023d43caa;hpb=10fdf6b15d99197b3e9a783dcc697f1acaf02cd2;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index e487af65..9b0e5dc3 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,5 +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.8

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