X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskFunction.html;h=0f1103abfac9a667c8a8d2c53533339bb4b0b85b;hb=5e133e82f086deb4b1ad5803b5df64ff924c69f1;hp=9ef72e54199061e86681f159b8434fa26003920c;hpb=1c7aa7852e7fc08e8319447806eff04cc60f06fc;p=poolifier.git diff --git a/docs/types/TaskFunction.html b/docs/types/TaskFunction.html index 9ef72e54..0f1103ab 100644 --- a/docs/types/TaskFunction.html +++ b/docs/types/TaskFunction.html @@ -1,5 +1,5 @@ -TaskFunction | poolifier - v3.0.11

Type alias TaskFunction<Data, Response>

TaskFunction<Data, Response>: TaskSyncFunction<Data, Response> | TaskAsyncFunction<Data, Response>

Task function that can be executed. +TaskFunction | poolifier - v3.1.12

Type alias TaskFunction<Data, Response>

TaskFunction<Data, Response>: TaskSyncFunction<Data, Response> | TaskAsyncFunction<Data, Response>

Task function that can be executed. This function can be synchronous or asynchronous.

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.

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file