isEmpty

val isEmpty: Boolean (source)

Overrides ReceiveChannel.isEmpty

Platform and version requirements: JVM

Returns true if the channel is empty (contains no elements) and the receive attempt will suspend. This function returns false for isClosedForReceive channel.

Getter

Returns true if the channel is empty (contains no elements) and the receive attempt will suspend. This function returns false for isClosedForReceive channel.