-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I felt great when found out this awesome lib, which fit my needs when there's support for nested/grouping. Thank you very much.
But when being hooked into it, I think that it lacks the ability to pause/resume the task/group (on purpose).
I have been able to pause/resume the taskgroup (the running task still run), by:
- Add a new status:
paused - Add 2 methods:
pause(): Changethis.state.statustopausedresume(): Changethis.state.statustofalse& run the queue again (this.run())
- Update some status checks
Not sure if there's any official guide for pause/resume, or someone already working on it. If my changes are going to the right direction, I can create a PR for it so you can take a look :) I guess there must be other places need to be updated accordingly :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels