Replies: 1 comment
-
please remove the bug label, it's not a bug |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature
Allow this lib to fire events based on specific states of a job. This is important for a robust API.
eg:
Others can be added that follow the same logic.
Why
Yes, I know and have seen the "Act on completion" example, but that won't work with code that has no connection to the job callback. That example only applies when running the job. What if we have some other UI where someone manually stops a job? What I noticed was I had to write code that triggers a stop reaction wherever it could stop a job, instead of just configuring the job to trigger the reaction when it stops regardless of where it was stopped. Same goes for other states like pause and resume.
Beta Was this translation helpful? Give feedback.
All reactions