zio / zio-nio

A small, unopinionated ZIO interface to NIO.

Home Page:https://zio.dev/zio-nio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • zio.nio.core - a small and unopinionated 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:

Background

About

A small, unopinionated ZIO interface to NIO.

https://zio.dev/zio-nio

License:Apache License 2.0


Languages

Language:Scala 96.7%Language:JavaScript 3.1%Language:CSS 0.2%