State extends StoreState> typedef
A function that handles an incoming stream of actions, optionally
performs side effects upon receiving an action, and optionally returns
StoreAction which will be dispatched by the store.
typedef Effect<State extends StoreState> = Stream<dynamic> Function( BehaviorSubject<StoreAction>, Store<State> store, );