Skip to main content

apply_property_commands

Function apply_property_commands 

Source
pub fn apply_property_commands(world: &mut World)
Expand description

Drains Command::SetProperty and Command::Typed entries from the CommandReceiver and applies them to the PropertyStore / CommandRegistry respectively.

Other Command variants are intentionally dropped by this drain - their owning plugins install dedicated drains.

Not auto-installed by crate::app::App::new. lumen-runtime registers it in the crate::tick::TickStage::CommandDrain stage when it builds an app; an embedder assembling its own App adds it the same way.