fs2 icon indicating copy to clipboard operation
fs2 copied to clipboard

Exception escaping recover block using timed pull?

Open Swoorup opened this issue 3 years ago • 0 comments

Using a timed pull to detect idle interval, and restart on exception it appears that exception sometimes escapes the recover block leaking out to IO.

I am not sure why this happens.

  • Scala - 3.1.1
  • fs2 - 3.2.5

Repro

The following ideally should never throw an exception. But unfortunately the inner exception does, randomly.

Scastie,

Swoorup avatar Mar 07 '22 18:03 Swoorup