Skip to content

Glossary: Kotlin Beyond the Basics

StateFlow

Also written: MutableStateFlow, update

A hot flow that always holds one current value and skips values equal to it. `update { }` changes the value safely, even from many coroutines.

Where the book teaches it

Related terms

cold flowasStateFlowMutableSharedFlow