Home
last modified time | relevance | path

Searched refs:DEFAULT_CLOSE_MESSAGE (Results 1 – 4 of 4) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannel.kt363 get() = if (holder is Closed) error(DEFAULT_CLOSE_MESSAGE) else holder as T
458 if (!hasNext()) throw ClosedReceiveChannelException(DEFAULT_CLOSE_MESSAGE) in hasNext()
DConflatedBroadcastChannel.kt61 …al sendException: Throwable get() = closeCause ?: ClosedSendChannelException(DEFAULT_CLOSE_MESSAGE) in <lambda>()
62 … val valueException: Throwable get() = closeCause ?: IllegalStateException(DEFAULT_CLOSE_MESSAGE) in <lambda>()
DAbstractChannel.kt1105 …al sendException: Throwable get() = closeCause ?: ClosedSendChannelException(DEFAULT_CLOSE_MESSAGE)
1106 …eiveException: Throwable get() = closeCause ?: ClosedReceiveChannelException(DEFAULT_CLOSE_MESSAGE)
DChannels.common.kt15 internal const val DEFAULT_CLOSE_MESSAGE = "Channel was closed" in <lambda>() constant