reframe_middleware library

Classes

HandlerWrapper<S, T, E>
ReframeAction<S, E>
ReframeResponse<S>
StateUpdate<S>

Functions

noEffect() Future<List<ReframeAction>>
reframeMiddleware<S, E>(E effects) Middleware<S>
reframeReducer<S>(S state, dynamic event) → S

Typedefs

Handler<T, E> = ReframeResponse<T> Function(T, E)
Middleware<S> = void Function(Store<S>, dynamic, NextDispatcher )
Reducer<S> = S Function(S, dynamic)
SideEffect = Future<List<ReframeAction>> Function()