[][src]Function gstore::combine_reducers

pub fn combine_reducers<A, S>(
    store: Rc<Store<A, S>>,
    state: &'static Mutex<S>,
    reducer: impl Fn(A, S) -> Option<S> + Send + 'static
) -> JoinHandle<Result<(), StoreError>> where
    A: Send + Clone + Eq + PartialEq + 'static,
    S: Send + Clone + 'static, 

Applies the given reducer to the store.