BlockingBufferChain

interface BlockingBufferChain<out T> : BlockingChain<T> , BufferChain<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(): BlockingBufferChain<T>
Create a copy of current chain state.
next
Link copied to clipboard
common
open suspend override fun next(): T
Generate next value, changing state if needed
nextBlocking
Link copied to clipboard
common
open override fun nextBlocking(): T
Get the next value without concurrency support.
nextBuffer
Link copied to clipboard
common
open suspend override fun nextBuffer(size: Int): Buffer<T>
nextBufferBlocking
Link copied to clipboard
common
abstract fun nextBufferBlocking(size: Int): Buffer<T>

Inheritors

BlockingDoubleChain
Link copied to clipboard
BlockingIntChain
Link copied to clipboard

Sources

common source
Link copied to clipboard