python-statemachine icon indicating copy to clipboard operation
python-statemachine copied to clipboard

Transitions should support RTC

Open fgmacedo opened this issue 7 years ago • 0 comments

  • Python State Machine version: 0.7.0
  • Python version: Any
  • Operating System: Any.

Description

All state machines events should execute on a run to completition (RTC) mode.

All state machine formalisms, including UML state machines, universally assume that a state machine completes processing of each event before it can start processing the next event. This model of execution is called run to completion, or RTC.

This introduces a breaking change on return values being passed from event handlers to the caller of an event.

fgmacedo avatar Apr 07 '18 16:04 fgmacedo