#SharedFlow
I just published a new article, 'Understanding the internals of Flow, StateFlow, and SharedFlow'.

In this article, you’ll dive deep into the internal mechanisms of Flow, StateFlow, and SharedFlow, exploring how they work under the hood.

www.revenuecat.com/blog/enginee...
Understanding the internal of Flow, StateFlow, and SharedFlow
In this article, you'll dive deep into the internal mechanisms of Flow, StateFlow, and SharedFlow, exploring how they work under the hood.
www.revenuecat.com
October 16, 2025 at 12:28 AM
Representing ViewModel events with StateFlow vs. SharedFlow vs. Channel kt.academy/article/view...
kt.academy
November 19, 2024 at 6:50 PM
Has anyone benchmarked kotlin's SharedFlowImpl?

I'm seeing thread contention on a SharedFlow with several collectors, and a quick peek shows that that emitting & taking values all uses a single central lock per instance (.. and it's `this` which is an antipattern)

github.com/Kotlin/kotli...
February 24, 2025 at 5:15 AM
Deciding if this should be a Flow, StateFlow, SharedFlow, or Callback.
June 1, 2026 at 3:18 PM
You asked for it, you got it! This week's video covers Hot Flows, including SharedFlow and StateFlow. In less than 15 minutes, we'll cover the most important things you need to know about them.

www.youtube.com/watch?v=u3bz...

#Kotlin #AndroidDev
Learn Kotlin Hot Flows in Just 15 Minutes
YouTube video by Dave Leeds
www.youtube.com
June 3, 2026 at 3:02 PM
Deep Dive into Kotlin Data Classes, Coroutines, Flow, and K2 Compiler.

doveletter.skydoves.me/book/kotlin
Kotlin Data Classes, Coroutines, Flow, and K2 Compiler Explained
Learn essential Kotlin concepts including data classes, delegated properties, Kotlin Coroutines, Flow, StateFlow, SharedFlow, structured concurrency, and the K2 compiler.
doveletter.skydoves.me
January 27, 2026 at 2:25 PM
@kotlinlang.org 👀 can we have some docs? 😜
February 27, 2025 at 2:51 PM
一週間の Android 開発関連ニュースをお届けする AndroidDagashi、第415回を公開しました!

What’s new in Flutter 3.41、Jetpack Compose移行をAIでサポートする、SharedFlowの様々なオプションの解説、など

https://androiddagashi.github.io/issue/415-2026-02-15
415 2026-02-15
What’s new in Flutter 3.41、Jetpack Compose移行をAIでサポートする、SharedFlowの様々なオプションの解説、など
androiddagashi.github.io
February 15, 2026 at 11:14 AM
Since greenrobot/EventBus fell out of favour, I've seen the event bus pattern re-emerge with various different faces. SharedFlow feels like this again to me, just a blind broadcast, the technology wasn't the problem, but the usage
March 20, 2025 at 10:31 PM
Learn how #SharedFlow works as a hot flow in #Kotlin—emitting data without collectors & differing from #StateFlow in value retention📝

www.droidcon.com/2025/05/27/s...
SharedFlow — Practical Examples
How does it work? SharedFlow is a hot flow. Actually, a Flow is a stream of data that can be computed asynchronously. There are two types of Flows,Cold Flow - Emits only when a collector is presentHot...
www.droidcon.com
June 3, 2025 at 2:13 PM
SharedFlowとcomposeの組み合わせはcompositionの関係で普通にイベントを取りこぼすんだけどなぁ
December 7, 2025 at 11:33 PM
🚀 kotlinx.coroutines 1.11.0 is here!

✅ Kotlin 2.2.20 support
✅ New Flow & StateFlow APIs
✅ Improved structured concurrency docs
✅ Fixes for SharedFlow, flowOn, RxJava leaks & R8 GC issues
✅ Better JS/Wasm exception handling
github.com/Kotlin/kotli...

#Kotlin #AndroidDev
Release 1.11.0 · Kotlin/kotlinx.coroutines
Various Kotlin was updated to 2.2.20 (#4545). Improved the published jar files (#3842, #4599). Various documentation improvements, including complete rewrites of structured concurrency and error h...
github.com
May 8, 2026 at 3:03 PM
In this case it turned out that we'd sometimes batch post many flag updates to a SharedFlow with several collectors that were contending + triggering a GC.

bsky.app/profile/p-y....
p-y.wtf P-Y @p-y.wtf · Feb 24
Has anyone benchmarked kotlin's SharedFlowImpl?

I'm seeing thread contention on a SharedFlow with several collectors, and a quick peek shows that that emitting & taking values all uses a single central lock per instance (.. and it's `this` which is an antipattern)

github.com/Kotlin/kotli...
February 25, 2025 at 5:22 AM
There is now a heated discussion about what to use to represent events in view models on Android. Here is a complete overview of all the options, their pros and cons, and final comparison.
Representing ViewModel events with StateFlow vs. SharedFlow vs. Channel
What is the best way to represent ViewModel events in Kotlin?
buff.ly
November 18, 2024 at 10:00 AM
It's like we saw the true face of the devil with EventBus, which blithefully reified the worst architecture patterns imaginable, and for the rest of our lives we get to hear people say things like, "SharedFlow is evil" and nod our heads silently in response, thinking "It could be a lot worse"
March 20, 2025 at 11:17 PM
👏 Very detailed explanation of the differences when using StateFlow, SharedFlow or Channels in ViewModels #android #androidDev #kotlin
There is now a heated discussion about what to use to represent events in view models on Android. Here is a complete overview of all the options, their pros and cons, and final comparison.
Representing ViewModel events with StateFlow vs. SharedFlow vs. Channel
What is the best way to represent ViewModel events in Kotlin?
buff.ly
November 20, 2024 at 11:25 AM
이번주 면접끗
면접전에 SharedFlow 보고갈걸…
April 10, 2025 at 8:22 AM
Yeah, that fits our investigation as well - more collectors, more lock contention on the internal SharedFlow buffer access.

Simple is fast :)
February 24, 2025 at 7:41 AM
Advanced #Kotlin Flow Types- StateFlow vs. SharedFlow:
slicker.me/kotlin/flow_...
February 21, 2026 at 2:05 AM
📦 venndev/vosaka-fourotines 1.4.5

Structured async programming for PHP using Fibers, inspired by Kotlin Coroutines. Features AsyncIO (non-blocking streams), ForkProcess (low-overhead child processes), Flow/SharedFlow/StateFlow with...

🔗 https://github.com/vosaka-php/vosaka-foroutines
March 12, 2026 at 7:14 AM