Function bicoro::void

source · []
pub fn void<'a, I, O, A>(co: Coroutine<'a, I, O, A>) -> Coroutine<'a, 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