kotlin-flow-extensions
Module Contents
alltypes
Module Contents
@FlowPreview class BehaviorSubject<T> : AbstractFlow<T>, SubjectAPI<T>
open class BufferingResumableCollector<T> : Resumable
interface ConnectableFlow<T> : Flow<T>
interface GroupedFlow<K, V> : Flow<V>
interface ParallelFlow<out T>
@FlowPreview class PublishSubject<T> : AbstractFlow<T>, SubjectAPI<T>
@FlowPreview class ReplaySubject<T> : AbstractFlow<T>, SubjectAPI<T>
open class Resumable : AtomicReference<Continuation<Any>>
open class ResumableCollector<T> : Resumable
interface SubjectAPI<T> : FlowCollector<T>, Flow<T>
kotlinx.coroutines.flow.Flow
Module Contents
fun <T> Flow<T>.concatWith(other: Flow<T>): Flow<T>
@FlowPreview fun <T, R> Flow<T>.flatMapDrop(mapper: suspend (T) -> Flow<R>): Flow<R>
@FlowPreview fun <T, K> Flow<T>.groupBy(keySelector: suspend (T) -> K): Flow<GroupedFlow<K, T>>
@FlowPreview fun <T, K, V> Flow<T>.groupBy(keySelector: suspend (T) -> K, valueSelector: suspend (T) -> V): Flow<GroupedFlow<K, V>>
@FlowPreview fun <T> Flow<T>.onBackpressurureDrop(): Flow<T>
fun <T> Flow<T>.parallel(parallelism: Int, runOn: (Int) -> CoroutineDispatcher): ParallelFlow<T>
@FlowPreview fun <T, R> Flow<T>.publish(transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxSize: Int, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxTime: Long, unit: TimeUnit, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxSize: Int, maxTime: Long, unit: TimeUnit, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxSize: Int, maxTime: Long, unit: TimeUnit, timeSource: (TimeUnit) -> Long, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T> Flow<T>.startCollectOn(dispatcher: CoroutineDispatcher): Flow<T>
@FlowPreview fun <T, U> Flow<T>.takeUntil(other: Flow<U>): Flow<T>
fun <T> Flow<T>.toList(): Flow<List<T>>
package hu.akarnokd.kotlin.flow
Module Contents
@FlowPreview class BehaviorSubject<T> : AbstractFlow<T>, SubjectAPI<T>
open class BufferingResumableCollector<T> : Resumable
interface ConnectableFlow<T> : Flow<T>
interface GroupedFlow<K, V> : Flow<V>
interface ParallelFlow<out T>
@FlowPreview class PublishSubject<T> : AbstractFlow<T>, SubjectAPI<T>
@FlowPreview class ReplaySubject<T> : AbstractFlow<T>, SubjectAPI<T>
open class Resumable : AtomicReference<Continuation<Any>>
open class ResumableCollector<T> : Resumable
interface SubjectAPI<T> : FlowCollector<T>, Flow<T>
@ExperimentalCoroutinesApi fun <T, R> ParallelFlow<T>.concatMap(mapper: suspend (T) -> Flow<R>): ParallelFlow<R>
fun <T> ParallelFlow<T>.filter(predicate: suspend (T) -> Boolean): ParallelFlow<T>
kotlinx.coroutines.flow.Flow
Module Contents
fun <T> Flow<T>.concatWith(other: Flow<T>): Flow<T>
@FlowPreview fun <T, R> Flow<T>.flatMapDrop(mapper: suspend (T) -> Flow<R>): Flow<R>
@FlowPreview fun <T, K> Flow<T>.groupBy(keySelector: suspend (T) -> K): Flow<GroupedFlow<K, T>>
@FlowPreview fun <T, K, V> Flow<T>.groupBy(keySelector: suspend (T) -> K, valueSelector: suspend (T) -> V): Flow<GroupedFlow<K, V>>
@FlowPreview fun <T> Flow<T>.onBackpressurureDrop(): Flow<T>
fun <T> Flow<T>.parallel(parallelism: Int, runOn: (Int) -> CoroutineDispatcher): ParallelFlow<T>
@FlowPreview fun <T, R> Flow<T>.publish(transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxSize: Int, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxTime: Long, unit: TimeUnit, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxSize: Int, maxTime: Long, unit: TimeUnit, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T, R> Flow<T>.replay(maxSize: Int, maxTime: Long, unit: TimeUnit, timeSource: (TimeUnit) -> Long, transform: suspend (Flow<T>) -> Flow<R>): Flow<R>
@FlowPreview fun <T> Flow<T>.startCollectOn(dispatcher: CoroutineDispatcher): Flow<T>
@FlowPreview fun <T, U> Flow<T>.takeUntil(other: Flow<U>): Flow<T>
fun <T> Flow<T>.toList(): Flow<List<T>>
fun <T, R> ParallelFlow<T>.map(mapper: suspend (T) -> R): ParallelFlow<R>
fun range(start: Int, count: Int): Flow<Int>
fun <T, R> ParallelFlow<T>.reduce(seed: suspend () -> R, combine: suspend (R, T) -> R): ParallelFlow<R>
@FlowPreview fun <T> ParallelFlow<T>.reduce(combine: suspend (T, T) -> T): Flow<T>
@FlowPreview fun <T> ParallelFlow<T>.sequential(): Flow<T>
fun timer(timeout: Long, unit: TimeUnit): Flow<Long>
fun <T, R> ParallelFlow<T>.transform(callback: suspend FlowCollector<R>.(T) -> Unit): ParallelFlow<R>
package hu.akarnokd.kotlin.flow.impl