[−][src]Function gstore::store::combine_reducers
pub fn combine_reducers<A, S>(
store: Rc<Store<A, S>>,
state: &'static Mutex<S>,
reducer: impl Fn(A, S) -> S + Send + 'static
) -> JoinHandle<Result<(), StoreError>> where
A: LifecycleAction + Send + Clone + Eq + PartialEq + 'static,
S: Send + Clone + 'static,
Applies the given reducer to the store.