Skip to content

Support task sleeping

The task suspending mechanism is suspending the task and remove from task queue. User need to revoke manually after suspending.
In some cases, the feature we actually need is let the task sleep a time period and wake up automatically.

To support this, we should re-consider all APIs and the design of task status.


TODOs
  • Support sleep status and onSleep API
  • Sleep mechanism
  • Task introspection APIs refinement
Edited by Arren Ping
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information