Skip to main content

spawn_read_cache

Function spawn_read_cache 

Source
pub fn spawn_read_cache(bus: &Arc<EventBus>, rt: &Handle) -> EditorStateHandle
Expand description

Subscribe to the generic event bus and spawn the cache-updater task. Returns the shared cache handle. Fully crate-owned: the host only publishes the (generic) events; this task + cache live here.