Enum bicoro::ChainResult
source · pub enum ChainResult<'a, IA, OA, OB, RA, RB> {
OutOfInputs {
first: RA,
second: Coroutine<'a, OA, OB, RB>,
},
Finished {
second: RB,
first: Coroutine<'a, IA, OA, RA>,
},
}
Expand description
Generated by chain, represents feeding inputs from one routine into another
This is useful to allow ‘communication’ between coroutines