DEV Community

Cover image for 19 Things to Know About Kotlin Flow — A Quick Note
Raksha for Canopas Software

Posted on

1

19 Things to Know About Kotlin Flow — A Quick Note

Do you have one minute? great!

It’s enough to have quick look at some useful things you should know about Kotlin Flow.

Here are 19 things you should know about Kotlin Flow.

Flow is an asynchronous data stream that sequentially emits values and completes normally or with an exception.

1) Flows is basically cold stream, but flow can be converted into a hot stream by stateIn or shareIn operators.

2) StateFlow and SharedFlow are the hot stream variants.

3) Under the hood StateFlow is a shared flow. State flow never completes. State flow requires an initial value.

To read all the useful information about flow, visit our blog on blog.canopas.com.

Sentry mobile image

Is your mobile app slow? Improve performance with these key strategies.

Improve performance with key strategies like TTID/TTFD & app start analysis.

Read the blog post

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay