asStream

fun <E : Any> ReceiveChannel<E>.asStream(): Stream<E>

Creates a Stream of elements in this ReceiveChannel.