[go: up one dir, main page]

store

Function store 

Source
pub fn store<K>() -> (Store<K>, Writer<K>)
where K: Lookup + Clone + 'static, <K as Lookup>::DynamicType: Eq + Hash + Clone + Default,
Available on crate feature runtime only.
Expand description

Create a (Reader, Writer) for a Store<K> for a typed resource K

The Writer should be passed to a reflector, and the Store is a read-only handle.