Function bicoro::void

source ·
pub fn void<I, O, A>(co: Coroutine<'_, I, O, A>) -> Coroutine<'_, I, O, ()>
Expand description

Converts the return result to the unit type

Useful when you don’t care what the coroutine occurs mainly after its effects