Implement an endpoint that undoes these actions:
- complete a task
- skip a task
- leave a queue
Schedule the task that call these actions after some time iff the undo action wasn't received during the particular time.
If the undo endpoint was called then cancel the scheduled task.
Implement an endpoint that undoes these actions:
Schedule the task that call these actions after some time iff the undo action wasn't received during the particular time.
If the undo endpoint was called then cancel the scheduled task.