Written version: https://blog.rockthejvm.com/ziofibers/'>https://blog.rockthejvm.com/ziofibers/
Compare this with Cats Effect Fibers: • Cats Effect 3: Introduction to Fibers
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: / rockthejvm
Twitter: / rockthejvm
Blog: https://blog.rockthejvm.com
Home: https://rockthejvm.com