bevy_ecs::system::command

Function run_system_cached

Source
pub fn run_system_cached<M, S>(system: S) -> impl Command<Result>
where M: 'static, S: IntoSystem<(), (), M> + Send + 'static,
Expand description

A Command that runs the given system, caching its SystemId in a CachedSystemId resource.