xiejun
2024-09-02 eee70eddb1464593aa08a0b108e4a1af01ce8a2f
1
2
3
4
5
6
7
8
9
10
11
12
13
<task-lifecycle initial="open">
  <state name="open">
    <transition name="complete" to="completed" />
    <transition name="suspend" to="suspended" />
    <transition name="cancel" to="cancelled" />
  </state>
  <state name="suspended">
    <transition name="resume" to="open" />
    <transition name="cancel" to="cancelled" />
  </state>
  <state name="cancelled" />
  <state name="completed" />
</task-lifecycle>