mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
update documentation for FlowsAggregation
This commit is contained in:
parent
6f650f6d6c
commit
4f984d1dbc
@ -5,6 +5,9 @@ import kotlinx.coroutines.channels.BroadcastChannel
|
|||||||
import kotlinx.coroutines.channels.Channel
|
import kotlinx.coroutines.channels.Channel
|
||||||
import kotlinx.coroutines.flow.*
|
import kotlinx.coroutines.flow.*
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Analog of [merge] function for [Flow]s. The difference is in the usage of [BroadcastChannel] in this case
|
||||||
|
*/
|
||||||
fun <T> aggregateFlows(
|
fun <T> aggregateFlows(
|
||||||
withScope: CoroutineScope,
|
withScope: CoroutineScope,
|
||||||
vararg flows: Flow<T>,
|
vararg flows: Flow<T>,
|
||||||
|
Loading…
Reference in New Issue
Block a user