fs2 icon indicating copy to clipboard operation
fs2 copied to clipboard

`Stream.groupWithin` swallowing errors when using `EitherT` effect.

Open dzanot opened this issue 3 years ago • 0 comments

When calling groupWithin on a Stream[EitherT[F, A, *], B] The stream halts on the first left, but completes with a success of the elements up to the left. This behavior is different than the case with IO.raiseError: In this case the stream completes as a failure as expected.

Scastie showing minimal example: https://scastie.scala-lang.org/9jBkYj3QSZqKFvN5uPSVtw

dzanot avatar Jan 31 '22 17:01 dzanot