fun dispatch(action: A): <ERROR CLASS>
Dispatches a synchronous action object.
fun dispatch(action: (Dispatch<A>, GetState<S>) -> Unit): <ERROR CLASS>
Dispatches an asynchronous action function.