Skip to main content

store_state

Function store_state 

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

[Store::state] clones feature state once — use in tests that intentionally read a snapshot.