onReceiveOrNull

fun <E : Any> ReceiveChannel<E>.onReceiveOrNull(): SelectClause1<E?>

This function is deprecated in the favour of ReceiveChannel.onReceiveCatching

Sources

common source
Link copied to clipboard