How to Stream Files and Sockets Without Leaking Resources
Read files, NIO channels and sockets as streams that close their handles on success, failure, early stop and missing input.
How to Run Streams Without Blocking
Swap blocking stream terminals for their Async twins, do async work per element, and run the same pipeline on Scala.js, including a ReadableStream source.
How to Wrap Callback and Future-Based APIs in Async
Bring Future, CompletionStage, JS Promise and callback APIs into Async, and cancel the underlying call when the Async is cancelled.
How to Run a Mux over a Real Socket
Carry several independent streams over one TCP connection with a zio-blocks Mux: framing, reader and writer loops, half-close, back-pressure and shutdown.