Written version: https://blog.rockthejvm.com/zio-fibers/
Compare this with Cats Effect Fibers: https://www.youtube.com/watch?v=TBe0_iVOYSM
This video is a quick dive into ZIO and the effect pattern. We're going to model synchronous and asynchronous computations on top of lightweight threads, aka fibers. Both Scala 2.13 and Scala 3 are identically applicable for this video. We discuss
- how to run ZIO instances sequentially, on the same thread
- how to create a Fiber via fork
- how to wait for a Fiber to finish via join
- how to interrupt Fibers
- how to make Fibers ignore interruption signals
Follow Rock the JVM on:
LinkedIn: https://linkedin.com/company/rockthejvm
Twitter: https://twitter.com/rockthejvm
Blog: https://blog.rockthejvm.com
-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------