pub fn inject<I, O, R>(
input: I,
co: Coroutine<'_, I, O, R>
) -> Coroutine<'_, I, O, R>where
R: Send,
O: Send,
Expand description
Use this input for the next input
Allows us to provide a single input to the coroutine This will be provided the next time the co asks for an input the input ‘request’ wont propagate. If co is finished, the input is ignored