state_machine
state_machine copied to clipboard
Explicitly declare expected payload
Right now the payload is optional and there's no way to tell if event is even expecting that. We can probably make it more strict and formal somehow.