Function may::cqueue::scope

source ·
pub fn scope<'a, F, R>(f: F) -> R
where F: FnOnce(&Cqueue) -> R + 'a,
Expand description

Create a new scope, for select coroutines.

Scopes, in particular, support scoped select coroutine spawning.