Function run_system_cached_with

Source
pub fn run_system_cached_with<I, M, S>(
    system: S,
    input: <I as SystemInput>::Inner<'static>,
) -> impl Command<Result<(), BevyError>>
where I: SystemInput + Send + 'static, <I as SystemInput>::Inner<'static>: Send, M: 'static, S: IntoSystem<I, (), M> + Send + 'static,
Expand description

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