ZIO interface to Java NIO.
Java NIO is unsafe, and can surprise you a lot with e.g. hiding actual error in IO operation and giving you only true/false values when IO was successful/not successful. ZIO-NIO on the other hand embraces the full power of ZIO effects, evironment, error and resource management to provide type-safe, performant, purely-functional, low-level, and unopinionated wrapping of Java NIO functionality.
ZIO-NIO comes in two flavours:
zio.nio.core
- a small and unopionanted ZIO interface to NIO that just wraps NIO API in ZIO effects,zio.nio
- an opinionated interface with deeper ZIO integration that provides more type and resource safety.
Learn more about ZIO-NIO at: