pub fn with_scope<T>(scope: Scope, f: impl FnOnce() -> T) -> Twhere T: 'static,
Runs the given code with the given Scope