Struct Store
halo
pub struct Store<M, S> { /* fields omitted */ }
impl<M: Clone + PartialEq, S> Store<M, S>
fn new(model: M, update: fn(_: S, _: M) -> M) -> Store<M, S>
fn dispatch(&mut self, msg: S)
fn run(&self)
fn subscribe(&mut self, sub: fn(_: &M)) -> i64
fn unsubscribe(&mut self, sub: i64)