Application Development With Kotlin Flow
Kotlin by JetBrains
0:00 / 0:00
Application Development With Kotlin Flow
15 486 просмотров · Трансляция закончилась 3 г. назад
Kotlin by JetBrains
100 тыс. подписчиков
15 486 просмотров · Трансляция закончилась 3 г. назад
Flow is a built-in feature of Kotlin that provides an extremely solid foundation for writing concurrent applications. In this session, using the simple example of building a database anonymization application, we will show you how to harness the power of flows with just a few simple building blocks: flow builders, transformations, and collectors. We will also look at how to create and run flows of gradually increasing complexity, demonstrate how cold flows differ from hot ones, and explain the connection between flows and coroutines.
#KotlinFlow #Kotlin #JetBrains
Speaker: Yury Ruchin
Source code: https://github.com/synthesized-io/kot...
0:00 Introduction
2:40 Synthesized TDK
6:37 Problem description
12:24 Kotlin Flow
14:26 Database schema
17:32 First Flow-based transformation
26:15 Useful Kotlin Flow tricks
31:35 Parallelizing work
37:13 Dependant workflows
47:37 Hot flow
54:50 What is "shareIn"?
57:55 Debugging
1:03:00 Flow of flows
1:10:03 Adding a custom Flow operator
1:16:23 Benefits of Kotlin Flow