X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=c10a9ad48579eca2fbed545308ffe8cacd5d2906;hb=c99df098ff02de4aeb34a422f2ab7c525e7c37ae;hp=24e47e74e03059b11ec4134d4b3a5a5f68597e52;hpb=0d60e26b333c8072404dee45d8602602515b3b22;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index 24e47e74..c10a9ad4 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,5 +1,6 @@ -TaskSyncFunction | poolifier - v3.1.8

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 - v3.1.30

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