//clika-runtime/io.clika.runtime/SynchronousStreamScope
SynchronousStreamScope
[common]
class SynchronousStreamScope(stream: Stream)
While open, every op dispatched on the calling thread waits for completion before the dispatch returns, and stream runs at most one task at a time. Open it only on a quiescent stream (synchronize first); thread-local.
Constructors
| SynchronousStreamScope | [common] constructor(stream: Stream) |
Functions
| Name | Summary |
|---|---|
| close | [common] open fun close() |