tseisel
04/15/2019, 6:26 PMflowViaChannel(bufferSize = Channel.CONFLATED) { ... }
throws an IllegalArgumentException
due to Channel.CONFLATED
constant value being less than 0.
Is it the intended behavior ? The documentation for this function highlights that Channel.CONFLATED
would be an accepted value : https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/flow-via-channel.htmlVsevolod Tolstopyatov [JB]
04/16/2019, 8:13 AM