Make "wait" action interruptible
-
Christopher Stawarz
Assigned to Tender discussion #33.
-
Christopher Stawarz
This is almost a trivial change:
Waitderives fromAction, andActionderives fromState, so you should be able to implement this by removing the sleep inWait::executeand adding aWait::nextthat returns an empty next state until the wait expires.Unfortunately,
TaskSystemStatespoils the party by ignoring the inherentState-ness ofActionand callingexecutedirectly on each contained action. So it seems that, if you want to changeWaitas described above, you also have to changeTaskSystemStateto behave more likeBlockor other paradigm components. -
Christopher Stawarz
- Milestone set to 0.5.0
- Milestone order changed from 168173 to 0
-
Christopher Stawarz
- State changed from open to pending
- Assigned user set to Christopher Stawarz
- Milestone order changed from 6 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.