Re:More State Machine Love: From Reflection to Statecharts
by braythwayt on Sunday March 18, 2018 @02:47PM
(#16613538)
As it happens, the "chain of prototype" implementation definitely ensures that method handlers "bubble up," for example the .close method bubbles up.
That said, a withdrawFunds action shouldn’t be available if the user is in the loggedOut branch of the statechart