zipWith<L, R, O> static method

Conveyor<Both<L, R>, O> zipWith<L, R, O>(
  1. Function2<L, R, O> f
)

Implementation

static Conveyor<Both<L, R>, O> zipWith<L, R, O>(Function2<L, R, O> f) =>
    consumeL<L, R, O>((L l) => consumeR((R r) => produce(f(l, r)))).repeatUntilExhausted();