0Pricing
Scala for Backend Engineering & Functional Programming · Lesson

The ZIO Effect

ZIO[R,E,A].

What Is ZIO?

ZIO is a library for asynchronous, concurrent, resource-safe functional effects. The core type is ZIO[R, E, A] — a description of a workflow that, given an environment R, may fail with E or succeed with A.

The Three Type Parameters

Read ZIO[R, E, A] as a function R => Either[E, A] (asynchronously, with effects):

  • R — required environment / dependencies
  • E — error type if it fails
  • A — value type if it succeeds

All lessons in this course

  1. The ZIO Effect
  2. Composing ZIO
  3. Error and Dependency Channels
  4. Running ZIO Apps
← Back to Scala for Backend Engineering & Functional Programming