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
/
toCollection
to
Collection
suspend
fun
<
T
,
C
:
MutableCollection
<
in
T
>
>
Flow
<
T
>
.
toCollection
(
destination
:
C
)
:
C
(
source
)
Collects given flow into a
destination