BlockingChain
A chain with blocking generator that could be used without suspension
Functions
Link copied to clipboard
Link copied to clipboard
Create a copy of current chain state. Consuming resulting chain does not affect initial chain.
Link copied to clipboard
Get the next value without concurrency support. Not guaranteed to be thread safe.
Inheritors
Extensions
Link copied to clipboard
inline fun <T : Any> BlockingChain<T>.nextBufferBlocking(size: Int): Buffer<T>
Content copied to clipboard