Type Alias genawaiter::rc::Co

source ·
pub type Co<Y, R = ()> = Co<Airlock<Y, R>>;
Expand description

This object lets you yield values from the generator by calling the yield_ method.

“Co” can stand for either controller or coroutine, depending on how theoretical you are feeling.

See the module-level docs for examples.

Aliased Type§

struct Co<Y, R = ()> { /* private fields */ }