Function in_executor_context

Source
pub fn in_executor_context<R>(f: impl FnOnce() -> R) -> R
Expand description

Execute an update function in a context that allows calling spawn and notifying wakers.