Core Data Types
In this section we are going to talk about the basic data types that are required to build a ZIO application:
- ZIO —
ZIOis a value that models an effectful program, which might fail or succeed. - ZIOApp —
ZIOAppand theZIOAppDefaultare entry points for ZIO applications. - Runtime —
Runtime[R]is capable of executing tasks within an environmentR. - Exit —
Exit[E, A]describes the result of executing anIOvalue. - Cause —
Cause[E]is a description of a full story of a fiber failure.