docs
5.2.0
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
>
>