Async worker signature used by the queue.
The queue invokes this worker for each enqueued task. The provided token is linked to queue cancellation, so a cancelled queue can interrupt running work if the worker cooperates with token cancellation utilities.
Input task payload type.
Worker result type.
Async worker signature used by the queue.
The queue invokes this worker for each enqueued task. The provided token is linked to queue cancellation, so a cancelled queue can interrupt running work if the worker cooperates with token cancellation utilities.