Skip to main content

Yield

Type Alias Yield 

Source
pub type Yield = Rc<dyn Fn(Box<dyn FnOnce()>)>;
Expand description

What runs f in a task of its own, after the tasks already queued.

Aliased Type§

pub struct Yield { /* private fields */ }