ChristopherDavenport / linebacker

Finally Tagless Blocking Implementation
https://christopherdavenport.github.io/linebacker
MIT License
94 stars 7 forks source link

Shift Back to Implicit Execution Context on Error #2

Closed ChristopherDavenport closed 6 years ago

ChristopherDavenport commented 6 years ago

Linebacker[F].block(F.raiseError(new Throwable("Boo!"))) would continue on the blocking pool. This can be handled through attempt then shifting back, then rethrow.