TelegramBotAPI
common
tgbotapi.core
/
dev.inmo.tgbotapi.utils.extensions
/
accumulateByKey
accumulate
By
Key
fun
<
K
,
V
>
ReceiveChannel
<
Pair
<
K
,
V
>
>
.
accumulateByKey
(
delayMillis
:
Long
,
scope
:
CoroutineScope
=
CoroutineScope(Dispatchers.Default)
,
resultBroadcastChannelCapacity
:
Int
=
32
)
:
ReceiveChannel
<
AccumulatedValues
<
K
,
V
>
>