skipUntil

fun <T> Flow<T>.skipUntil(notifier: Flow<Any?>): Flow<T>(source)

Returns a Flow that skips items emitted by the source Flow until a second Flow emits a value or completes.

Parameters

notifier

The second Flow that has to emit a value before the source Flow's values begin to be mirrored by the resulting Flow.