Make "wait" action interruptible
Reported by Christopher Stawarz | April 23rd, 2012 @ 10:30 AM | in 0.5.0 (closed)
Currently, the "wait" action is not interruptible, meaning an experiment with an executing wait cannot be stopped. This is annoying and should be changed.
Comments and changes to this ticket
-
Christopher Stawarz May 21st, 2012 @ 01:08 PM
This is almost a trivial change:
Wait
derives fromAction
, andAction
derives fromState
, so you should be able to implement this by removing the sleep inWait::execute
and adding aWait::next
that returns an empty next state until the wait expires.Unfortunately,
TaskSystemState
spoils the party by ignoring the inherentState
-ness ofAction
and callingexecute
directly on each contained action. So it seems that, if you want to changeWait
as described above, you also have to changeTaskSystemState
to behave more likeBlock
or other paradigm components. -
Christopher Stawarz June 13th, 2012 @ 02:07 PM
- Milestone set to 0.5.0
- Milestone order changed from 168173 to 0
-
Christopher Stawarz July 17th, 2012 @ 03:29 PM
- State changed from open to pending
- Assigned user set to Christopher Stawarz
- Milestone order changed from 6 to 0
-
Christopher Stawarz October 3rd, 2012 @ 03:13 PM
- State changed from pending to resolved
Merged to master
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core framework and supporting libraries for the MWorks Suite