收集;采集

fun <T> collect(flow: Flow<T>, coroutineContext: CoroutineContext = EmptyCoroutineContext): List<T>

Collects every element of flow, blocking until it completes.