X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=4f4f82a638148b479751f4204dbd50658f579b04;hb=281c4c4798ff3366a0efb1f65a80b451804bedab;hp=6e3739117f4ab0a9f16cd5254506e0f349091138;hpb=c6ec7ba0bd7e4b55a552e3fd829617fba567ca93;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index 6e373911..4f4f82a6 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,5 +1,5 @@ -TaskSyncFunction | poolifier - v3.0.7

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

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

Generated using TypeDoc

\ No newline at end of file