X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Ftypes%2FTaskSyncFunction.html;h=1b37030b4500a021c70249b304d8db517115067b;hb=d912486e16e6971854a0118268bc6d13a0291466;hp=bce4f2988f6e5caaad37965dd5e62c838a6f5f4d;hpb=1c7aa7852e7fc08e8319447806eff04cc60f06fc;p=poolifier.git diff --git a/docs/types/TaskSyncFunction.html b/docs/types/TaskSyncFunction.html index bce4f298..1b37030b 100644 --- a/docs/types/TaskSyncFunction.html +++ b/docs/types/TaskSyncFunction.html @@ -1,5 +1,6 @@ -TaskSyncFunction | poolifier - v3.0.11

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

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