arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / either
fun <B> either(ctx: CoroutineContext = Dispatchers.Default, other: Stream<B>): Stream<Either<O, B>>
Merges both Streams into an Stream of A and B represented by Either<A, B>. This operation is equivalent to a normal merge but for different types.
Do you like Arrow?
✖