Redesign for v2 #280
JohnRoesler
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Looks pretty clean. What would be the role of the Although, I kind of liked the idea of "scheduling" being decoupled from the "job" itself. But 👆🏽 this looks more intuitive from a user point of. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There have been plenty of issues for folks with the ability to get bitten by the current designs "chains" which don't clearly state the order in which each method must be called and errors can happen when called out of order. Currently the methods to set job related scheduling are done on the scheduler itself and therefore the scheduler has to set a job into the current context, apply the scheduling to that job and then save it into the scheduler.
To simplify that, I was thinking of changing the contracts so that all job specific scheduling was set on the job itself. Then that job could be passed into one or frankly many schedulers. Jobs would be resilient to having methods called in any order. What this could look like:
@Streppel @arjunmahishi
Beta Was this translation helpful? Give feedback.
All reactions