# com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.kotlinx.coroutines.channels.ReceiveChannel - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.utils.extensions / kotlinx.coroutines.channels.ReceiveChannel

### Extensions for kotlinx.coroutines.channels.ReceiveChannel

(common)

#### accumulateByKey

`fun <K, V> ReceiveChannel<Pair<K, V>>.accumulateByKey(delayMillis: Long, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), resultBroadcastChannelCapacity: Int = 32): ReceiveChannel<AccumulatedValues<K, V>>`

(common)

#### debounceByValue

`fun <T> ReceiveChannel<T>.debounceByValue(delayMillis: Long, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), resultBroadcastChannelCapacity: Int = 32): ReceiveChannel<T>`