Type Definition corosensei::Coroutine

source ·
pub type Coroutine<Input, Yield, Return, Stack = DefaultStack> = ScopedCoroutine<'static, Input, Yield, Return, Stack>;
Expand description

Alias for a ScopedCoroutine with a 'static lifetime.

This means that the function executing in the coroutine does not borrow anything from its caller.