We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs2 version 3.10.2
this codes prints Succeeded
Succeeded
Stream .eval(IO.canceled) .parEvalMap(2)(_ => IO.unit) .onFinalizeCase(c => IO.delay(println(c))) .compile.drain
while using evalMap instead, it is properly Canceled:
evalMap
Canceled
Stream .eval(IO.canceled) .evalMap(_ => IO.unit) .onFinalizeCase(c => IO.delay(println(c))) .compile.drain
expected behavior: I would expect cancellation in both cases.
The text was updated successfully, but these errors were encountered:
My bad, it may be a duplicate of #3311 Though example in that issue is somewhat convoluted
Sorry, something went wrong.
No branches or pull requests
fs2 version 3.10.2
this codes prints
Succeeded
while using
evalMap
instead, it is properlyCanceled
:expected behavior:
I would expect cancellation in both cases.
The text was updated successfully, but these errors were encountered: