This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Commit 76c6ebf
authored
feat: allow tasks to be canceled and rescheduled on different zone in a zone delegate (#629)
1) Adds states to the Task: `notScheduled`, `scheduling`, `scheduled`, `running`, `canceling`
2) Adds `cancelScheduleRequest` method to Task.
3) Allows canceling of task scheduling and subsequent re-scheduling from ZoneSpec. This
allows a Zone to intercept the scheduling of a Task and redirecting it to another Task.1 parent f3547cc commit 76c6ebf
4 files changed
Lines changed: 302 additions & 66 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments