Skip to main content

drain_external_properties

Function drain_external_properties 

Source
pub fn drain_external_properties(store: ResMut<'_, PropertyStore>)
Expand description

Per-tick system that drains every queued typed-property write into PropertyStore. Each entry calls PropertyStore::set so the cell gets the typed variant directly - no stringification, no Signals round-trip.

Pair with init_external_properties at startup; the runtime (lumenc or a custom embedder) registers this in crate::tick::TickStage::CommandDrain alongside crate::command::apply_property_commands.