meowchannel library
Classes
- Action
-
Computed<
S, T> - MeowChannelClose
- MeowChannelInit
-
Module<
S> - MultiStoreProvider
-
SetWatchersAction<
S> -
Store<
S> - StoreDispatcher
-
StoreHook<
S> -
StoreHookPreviousState<
S> -
StoreInitializer<
S> -
StoreProvider<
_S> -
StoreRepeater<
S> -
StoreState<
W extends StatefulWidget> -
Watcher<
A, S> -
Worker<
A, S> -
WorkerContext<
S>
Mixins
Functions
-
applyWorker<
A, S> (Stream< A> actionStream, WorkerContext<S> context, Worker<A, S> worker) → Future -
combinedReducer<
S> (Iterable< Reducer< reducers) → Reducer<S> >S> -
combinedWorker<
A, S> (Iterable< Worker< workers) → Worker<A, S> >A, S> -
computedModule<
S> (Map< String, Computed< computed) → Module<S, dynamic> >S> -
syncedReducer<
A, S> (SyncedReducer< A, S> reducer, {S? initialState}) → Reducer<S> -
typedReducer<
A, S> (TypedReducer< A, S> reducer) → Reducer<S> -
typedWorker<
A, TA extends A, S> (Worker< TA, S> _worker) → Worker<A, S> -
watcher<
A, S> (Worker< A, S> worker, Stream<A> select(Stream actionStream, WorkerContext<S> context)) → Watcher<A, S> -
worker<
A, S> (_Work< A, S> work) → Worker<A, S> -
workerModule<
S> (List< Watcher< watchers) → Module<dynamic, S> >S>
Typedefs
-
Dispatcher
= Future<
void> Function(dynamic action) -
Reducer<
S> = FutureOr< S> Function(dynamic action, S previousState) -
StoreHookBody<
S> = dynamic Function(Store< S> store, S state, dynamic action) -
StoreHookPreviousStateBody<
S> = dynamic Function(S? previousState, S state, dynamic action) -
SyncedReducer<
A, S> = S Function(A action, S previousState) -
TypedReducer<
A, S> = FutureOr< S> Function(A action, S previousState)