sendEvent

suspend fun sendEvent(event: E)

Sends an event to the state machine. The entry point to change state.