@ExperimentalCoroutinesApi abstract val onReceiveOrNull: SelectClause1<E?> (source)

Clause for select expression of receiveOrNull suspending function that selects with the element that is received from the channel or selects with null if if the channel isClosedForReceive without cause. The select invocation fails with the original close cause exception if the channel has failed.

Note: This is an experimental api. This function may be replaced with a better one in the future.