Implementation of the cancellable tasks queue using ZIO
- add task by key. Returns the task result. Locks fiber until result is ready.
- cancel task by key, supports label to identify the origin of the call. Returns the task cancellation result. Locks fiber until task is cancelled.
- join task by key. Returns join result. Locks fiber until result is ready.
- getRegisteredTaskKeys. Returns all keys of the tasks which are either in progress or registered for execution
- add_ and cancel_ : versions of the respective operations which ignore the results. Return without waiting for completion.
- Done(result)
- Cancelled(origin)
- Failed(errors)
- Died(defects)
- Duplicate
- Rejected
- Done(result)
- Cancelled(origin)
- Failed(errors)
- Died(defects)
- NotFound