Skip to main content

subscribe_state

Function subscribe_state 

Source
pub fn subscribe_state<S, M>(store: &Store<S, M>) -> StateSubscriber<S>
where S: Clone + PartialEq + Send + Sync + 'static, M: Send + 'static,
Expand description

[Store::subscribe_state] clones once when the subscriber is created.