Skip to content
0:00 / 0:00

#catseffect#blocking#fs2

Death of Blocker: blocking in Cats Effect 3 - Scala tutorial

Jakub Kozłowski

3.7K subscribers • 30 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jakub Kozłowski
  • Linked in the descriptionkubukoz/videos

Intermediate. Assumes working knowledge.

2.2K views5 years ago1 recommendation

Programming languagesSystems programmingScalaConcurrency and parallelism

Jakub Kozłowski explains how to migrate from Blocker in Cats Effect 2 to the new blocking mechanisms in Cats Effect 3.

A flashback to the first video I published (Blocker in Cats Effect 1.4.0). In this one, you'll learn how to migrate from using Blocker in Cats Effect 1/2, and how blocking is done in Cats Effect 3. You'll also see other new things in the library, like interruptible blocking and IOApp.Simple. If you enjoyed this video, please like and subscribe, and hit the bell icon so you don't miss another one ;) I'm on Twitter: twitter.com/kubukoz on GitHub: github.com/kubukoz sometimes stream on Twitch: twitch.tv/kubukoz And you can buy me a coffee if you want: ko-fi.com/kubukoz Read the code: github.com/kubukoz/videos/tree/main/blocking-ce3 Table of contents: - Introduction, what is blocking - Walkthrough of the example from the Blocker video - New example with FS2 - Updating dependencies - Updating the original example to CE3 - Updating the FS2 example - IO.blocking - IOApp.Simple - Where is the blocking pool? (IORuntime) - IO.interruptible - Parting words, further reading Useful links: Cats Effect 3 migration guide: typelevel.org/cats-effect/docs/migration-guide Blocker video: youtube.com/watch?v=v__IRT-QkwY FS2: fs2.io/ My intro to FS2: youtube.com/watch?v=TmhIabcu6Fs My talk about functional streams and FS2: youtube.com/watch?v=oluPEFlXumw

Why it's here

1 person recommends this

u/kubukozcats,cats-effectin r/scala • Recommends

Death of Blocker: blocking in Cats Effect 3 - Scala tutorial