pub fn in_executor_context<R>(f: impl FnOnce() -> R) -> R
Execute an update function in a context that allows calling spawn and notifying wakers.
spawn