Scala with ZIO: Introduction to Fibers
Rock the JVM
0:00 / 0:00
Scala with ZIO: Introduction to Fibers
12 635 просмотров · 5 лет назад
Rock the JVM
27,2 тыс. подписчиков
12 635 просмотров · 5 лет назад
Written version: https://blog.rockthejvm.com/zio-fibers/
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
-------------------------------------------------------------------------