bnn
10/10/2019, 11:12 AMonReceiveOrNull
defined on ReceiveChannel
interface is now deprecated, and onReceiveOrNull
extension function defined on ReceiveChannel
is now ExperimentalCoroutinesApi
. I'm trying to use extension version of onReceiveOrNull but I can't. Is there anything wrong?kotlinx-coroutines-core:1.3.2
molikuner
10/10/2019, 9:16 PMimport kotlinx.coroutines.channels.onRecieveOrNull as onRecieveOrNullExtension
And use onRecieveOrNullExtension
instead of onRecieveOrNull
bnn
10/10/2019, 11:50 PM