BufferChain

interface BufferChain<out T> : Chain<T>

Functions

Link copied to clipboard
open suspend override fun collect(collector: FlowCollector<T>)
Link copied to clipboard
abstract suspend override fun fork(): BufferChain<T>

Create a copy of current chain state. Consuming resulting chain does not affect initial chain.

Link copied to clipboard
abstract suspend fun next(): T

Generate next value, changing state if needed

Link copied to clipboard
abstract suspend fun nextBuffer(size: Int): Buffer<T>

Inheritors

Link copied to clipboard

Sources

Link copied to clipboard