From 4f984d1dbc439943a5609433442f6948dab62a4c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 13 Aug 2020 12:53:04 +0600 Subject: [PATCH] update documentation for FlowsAggregation --- .../TelegramBotAPI/extensions/utils/FlowsAggregation.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TelegramBotAPI-extensions-utils/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/utils/FlowsAggregation.kt b/TelegramBotAPI-extensions-utils/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/utils/FlowsAggregation.kt index 37333b2cec..17c783a215 100644 --- a/TelegramBotAPI-extensions-utils/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/utils/FlowsAggregation.kt +++ b/TelegramBotAPI-extensions-utils/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/utils/FlowsAggregation.kt @@ -5,6 +5,9 @@ import kotlinx.coroutines.channels.BroadcastChannel import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.* +/** + * Analog of [merge] function for [Flow]s. The difference is in the usage of [BroadcastChannel] in this case + */ fun aggregateFlows( withScope: CoroutineScope, vararg flows: Flow,