BlockingIntChain

interface BlockingIntChain : BlockingBufferChain<Int>

Performance optimized chain for integer values

Functions

collect
Link copied to clipboard
common
open suspend override fun collect(collector: FlowCollector<Int>)
fork
Link copied to clipboard
common
abstract suspend override fun fork(): BlockingIntChain
Create a copy of current chain state.
next
Link copied to clipboard
common
open suspend override fun next(): Int
Generate next value, changing state if needed
nextBlocking
Link copied to clipboard
common
open override fun nextBlocking(): Int
Get the next value without concurrency support.
nextBuffer
Link copied to clipboard
common
open suspend override fun nextBuffer(size: Int): Buffer<Int>
nextBufferBlocking
Link copied to clipboard
common
abstract override fun nextBufferBlocking(size: Int): IntBuffer

Sources

common source
Link copied to clipboard