dropWhile

fun <E> ReceiveChannel<E>.dropWhile(
    context: CoroutineContext = Unconfined,
    predicate: suspend (E) -> Boolean
): ReceiveChannel<E>
(source)

Platform and version requirements: JVM

Returns a channel containing all elements except first elements that satisfy the given predicate.

The operation is intermediate and stateless. This function consumes all elements of the original ReceiveChannel.