Executes the effect asynchronously, returning a fiber whose methods can await the exit value of the fiber or interrupt the fiber.
Executes the effect asynchronously, returning a fiber whose methods can await the exit value of the fiber or interrupt the fiber.
This method is effectful and should only be used at the edges of your application.
Executes the effect synchronously and returns its result as a zio.Exit value.
Executes the effect synchronously and returns its result as a zio.Exit value. May fail on Scala.js if the effect cannot be entirely run synchronously.
This method is effectful and should only be used at the edges of your application.
Attempts to execute the effect synchronously and returns its result as a zio.Exit value.
Attempts to execute the effect synchronously and returns its result as a zio.Exit value. If the effect cannot be entirely run synchronously, the effect will be forked and the fiber will be returned.
This method is effectful and should only be used at the edges of your application.
Executes the effect asynchronously, returning a Future that will be completed when the effect has been fully executed.
Executes the effect asynchronously, returning a Future that will be completed when the effect has been fully executed. The Future can be canceled, which will be translated into ZIO's interruption model.
This method is effectful and should only be used at the edges of your application.