Skip to main content

at_priority

Function at_priority 

Source
pub fn at_priority<T>(priority: i64, f: impl FnOnce() -> T) -> T
Expand description

Run f with this thread’s commands waiting for a gate token at priority (higher is served first); the previous priority is restored however f ends. Rows run side by side inherit it.