Controller<Event, State> constructor
Controller<Event, State> (
- State initialState
Takes a Stream
of Events
as input
and transforms them into a Stream
of States
as output.
Implementation
Controller(State initialState) : super(initialState) {
_bindEventsToStates();
}