X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=3f9164bcb570fa2fe7bd46516020dd54710034d8;hb=70a0d99256d476d3815fc545bc86685767aea8c9;hp=24e47e74e03059b11ec4134d4b3a5a5f68597e52;hpb=e76cb051ad171ceb6183dbe5ab0397ebb8f242d0;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index 24e47e74..3f9164bc 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,5 +1,5 @@ -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.18

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