Function elfo_core::scope::with [−][src]
pub fn with<R>(f: impl FnOnce(&Scope) -> R) -> R
Expand description
Accesses the current scope and runs the provided closure.
Panics
This function will panic if called ouside the actor system.