zio / zio-nio

A small, unopinionated ZIO interface to NIO.
https://zio.dev/zio-nio
Apache License 2.0
187 stars 76 forks source link
nio scala zio

ZIO-NIO

Project Stage CI Release Snapshot Discord
Project stage CI Release Artifacts Snapshot Artifacts badge-discord

ZIO interface to Java NIO.

Java NIO is unsafe, and can surprise you a lot with e.g. hiding the 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, environment, 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:

Learn more about ZIO-NIO at:

Background