toCollection

suspend fun <T, C : MutableCollection<in T>> Flow<T>.toCollection(destination: C): C

Collects given flow into a destination

Sources

common source
Link copied to clipboard