poolifier - v5.0.2
    Preparing search index...

    Type Alias TaskFunction<Data, Response>

    TaskFunction:
        | TaskAsyncFunction<Data, Response>
        | TaskSyncFunction<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.