with_runtime

Function with_runtime 

Source
pub fn with_runtime<F, R>(f: F) -> R
where F: FnOnce(&Runtime) -> R,
Expand description

Run a callback with the default Runtime object.