u/kubukozcats,cats-effectin r/scala • Recommends
Basic streams and combinators in fs2 - Scala tutorial
3.7K subscribers • 30 videos on Hallway
Intermediate. Assumes working knowledge.
4.9K views6 years ago1 recommendation
Programming languagesDistributed systemsScalaKafka and stream processingFunctional programming
Jakub Kozłowski explains basic streams and operators in the fs2 library, demonstrating how they differ from typical collections.
In this video, you'll learn about basic streams and operators from the fs2 library (fs2.io). You'll also learn some of what makes fs2 Stream different than the typical collection. If you liked the video, please upvote and subscribe! Table of contents: - Introduction, overview, imports - Building basic streams - Streams with effects - Non-terminating, infinite streams - Making infinite streams finite - Concatenating pure streams, .take on a combined stream - map, flatMap, semantics of flatMapping to an infinite stream - Mapping with effects - evalMap - Repeating a stream - On-demand loading of elements (pull based streaming), chunks - Tracking the order of operations in a sequence of transformations - Summary Read the code: github.com/kubukoz/videos/tree/master/fs2-streams Some libraries, tools that are mentioned in the video or could be useful for working with fs2: - github.com/functional-streams-for-scala/fs2 - github.com/typelevel/cats-effect - github.com/typelevel/cats fs2 website: fs2.io fs2 documentation, tutorials and blog posts: fs2.io/documentation.html fs2 guide: fs2.io/documentation.html My talk about fs2: youtube.com/watch?v=oluPEFlXumw Slides: speakerdeck.com/kubukoz/a-sky-full-of-streamsWhat people say. Recommended as a clear tutorial on the basics of functional streaming with fs2 in Scala.
u/kubukozcats,cats-effectin r/scala • Recommends