Extensions for kotlin.sequences.Sequence

asReceiveChannel

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

Returns a channel to read all element of the Sequence.