Basic streams and combinators in fs2 - Scala tutorial

preview_player
Показать описание

If you liked the video, please upvote and subscribe!

Table of contents:
0:00 - Introduction, overview, imports
1:06 - Building basic streams
2:38 - Streams with effects
4:25 - Non-terminating, infinite streams
5:13 - Making infinite streams finite
6:50 - Concatenating pure streams, .take on a combined stream
8:00 - map, flatMap, semantics of flatMapping to an infinite stream
9:15 - Mapping with effects - evalMap
10:35 - Repeating a stream
11:24 - On-demand loading of elements (pull based streaming), chunks
12:13 - Tracking the order of operations in a sequence of transformations
14:16 - Summary

Some libraries, tools that are mentioned in the video or could be useful for working with fs2:

Рекомендации по теме
Комментарии
Автор

Thanks Kuba for this video! Was really helpful. I'd love to watch more on fs2.Stream 😁

marcinkrykowski
Автор

As always a question about the VSCode (or compiler) Plugins you use. Which is the one that shows the value of the expression on the right side of it in a comment? Thanks!

TonioGela
Автор

Can you show your implementation of the "debug" method.

abhishes
Автор

ahh so I was reading and It seems that is very useful for processing large data files so you don't have to load the complete file in memory, makes a lot of sense.
Is this the most common use case? I recently used Spring Webflux and I guess is kinda similar(? because it uses Project reactor

jofla