Function run_when

Source
pub fn run_when<C, F>(cowns: C, f: F)
where C: CownPtrs + Send + 'static, F: for<'l> Fn(C::CownRefs<'l>) + Send + 'static,
Expand description

Creates a Behavior and schedules it. Used by “When” block.