Skip to content

Instantly share code, notes, and snippets.

@dnaumenko
Created February 11, 2020 12:30
Show Gist options
  • Save dnaumenko/551cab0589d438370fd66a7966972742 to your computer and use it in GitHub Desktop.
Save dnaumenko/551cab0589d438370fd66a7966972742 to your computer and use it in GitHub Desktop.
val program: Env[String, Unit] = for {
_ <- EnvCtx(ZIO.effect(println("Starting")))
_ <- EnvCtx(ZIO.effect(println("Finished")))
} yield ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment