asReceiveChannel

fun <E> Iterable<E>.asReceiveChannel(
    context: CoroutineContext = Unconfined
): ReceiveChannel<E>
(source)

Platform and version requirements: JVM

Returns a channel to read all element of the Iterable.