pub fn isolated<F, R>(f: F) -> Rwhere F: FnOnce(Isolated) -> R,
Execute the given closure without interruptions