interleave<I> static method

Conveyor<Both<I, I>, I> interleave<I>()

Implementation

static Conveyor<Both<I, I>, I> interleave<I>() =>
    consumeL<I, I, I>((I i1) => consumeR((I i2) => produce(i1, produce(i2)))).repeatUntilExhausted();