Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx.coroutines
1.9.0
common
switch theme
search in API
kotlinx-coroutines-core
/
kotlinx.coroutines.flow
/
asStateFlow
as
State
Flow
fun
<
T
>
MutableStateFlow
<
T
>
.
asStateFlow
(
)
:
StateFlow
<
T
>
(
source
)
Represents this mutable state flow as a read-only state flow.