docs
4.1.2
common
docs
/
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
>
>