dispatch method

dynamic dispatch(
  1. StoreAction action
)

Dispatch a new action.

A new state will be computed, and effewcts will subsequently run.

Implementation

dispatch(StoreAction action) {
  _actionStream.add(action);
}