Modelling a 
better night’s sleep
Separation
Finite state machine
State machines can be used anywhere in your stack.
Demo
The actor model
Demo
Statecharts can be used anywhere in your stack!
Event-based actor
Patient onboarding
Credit check
Diagrams are great!
The benefits of statecharts
Demo
Do you always need a state machine?
When do you need a state machine or statechart?
Everyone gets a better night’s sleep with state machines
Thank you!