Extensions for kotlin.collections.Iterable

asReceiveChannel

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

Returns a channel to read all element of the Iterable.