BufferChain

interface BufferChain<out T> : Chain<T>

Functions

collect
Link copied to clipboard
common
open suspend override fun collect(collector: FlowCollector<T>)
fork
Link copied to clipboard
common
abstract suspend override fun fork(): BufferChain<T>
Create a copy of current chain state.
next
Link copied to clipboard
common
abstract suspend fun next(): T
Generate next value, changing state if needed
nextBuffer
Link copied to clipboard
common
abstract suspend fun nextBuffer(size: Int): Buffer<T>

Inheritors

BlockingBufferChain
Link copied to clipboard