EventState

typealias EventState<E, S> = Pair<E, S>

This represents an event and targetState pair that can be written as event to state

Parameters

E

The event: E will be the first element of the pair

S

The targetState: S will be the second element of the pair.