#zio

[ follow ]
#scala
Alvinalexander
1 week ago
Scala

How to use ZIO 2 in the Ammonite REPL

ZIO can be added into the Ammonite REPL using import statements for both ZIO and ZIO Worksheet libraries. [ more ]
Alvinalexander
1 week ago
JavaScript

A ZIO ZLayer logging example (with Scala-CLI)

Demonstrates enabling logging in a ZIO application using ZLayer. [ more ]
Alvinalexander
3 weeks ago
Scala

ZIO 2: Using Either with ZIO in a Scala for-expression

Use ZIO in Scala for-expressions with Either to manage errors effectively. [ more ]
Alvinalexander
1 month ago
Data science

ZIO 2: STDOUT and STDERR console output with foldZIO, success, failure

Using ZIO in Scala to handle success and failure cases with foldZIO function for printing information to the console. [ more ]
Alvinalexander
1 month ago
Scala

ZIO 2: How to read a file and write its output to the console

Reading files and processing output using ZIO 2 in Scala. [ more ]
morescala
#error-handling
Alvinalexander
3 weeks ago
JavaScript

ZIO 2: A ZIO.timeout interrupt example with ZIO.attempt

ZIO.timeout can be used in Scala 3 for adding a timeout to an operation, resulting in a None value if the timeout is triggered. [ more ]
Alvinalexander
3 weeks ago
JavaScript

ZIO 2: Solution to "ZIO.cond not working" (code not running)

Understanding how ZIO.cond works is crucial for proper error handling in ZIO applications. [ more ]
moreerror-handling
Alvinalexander
2 months ago
Scala

ZIO, ZIO HTTP Server, and Scala-Cli

The article provides a simple ZIO HTTP server application example.
Instructions on setting up the ZIO dependencies and running the application were shared. [ more ]
[ Load more ]