Skip to main content
Version: ZIO 1.x

Summary

  • ZIO โ€” A ZIO is a value that models an effectful program, which might fail or succeed.
    • UIO โ€” An UIO[A] is a type alias for ZIO[Any, Nothing, A].
    • URIO โ€” An URIO[R, A] is a type alias for ZIO[R, Nothing, A].
    • Task โ€” A Task[A] is a type alias for ZIO[Any, Throwable, A].
    • RIO โ€” A RIO[R, A] is a type alias for ZIO[R, Throwable, A].
    • IO โ€” An IO[E, A] is a type alias for ZIO[Any, E, A].
  • Exit โ€” An Exit[E, A] describes the result of executing an IO value.
  • Cause - Cause[E] is a description of a full story of a fiber failure.
  • Runtime โ€” A Runtime[R] is capable of executing tasks within an environment R.