Function scope

Source
pub fn scope<F>(value: bool, f: F) -> TaskLocalFuture<bool, F>
where F: Future,