kotlin-flow-extensions / hu.akarnokd.kotlin.flow / kotlinx.coroutines.flow.Flow / flatMapDrop

flatMapDrop

@FlowPreview fun <T, R> Flow<T>.flatMapDrop(mapper: suspend (T) -> Flow<R>): Flow<R>

Maps items from the upstream to Flow and relays its items while dropping upstream items until the current inner Flow completes.