ZIOAtomContextExt extension
Methods
-
makeZIORunner<E, A>(EIO<E, A> zio)
→ ZIORunner<E, A>
-
Creates a ZIORunner for the ZIO, using the Runtime from runtimeAtom.
-
runZIO<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt})
→ FutureOr<Exit<E, A>>
-
Calls Runtime.run on the ZIO, using the Runtime from runtimeAtom.
-
runZIOFuture<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt})
→ Future<Exit<E, A>>
-
Calls Runtime.runFuture on the ZIO, using the Runtime from runtimeAtom.
-
runZIOFutureOrThrow<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt})
→ Future<A>
-
Calls Runtime.runFutureOrThrow on the ZIO, using the Runtime from runtimeAtom.
-
runZIOOrThrow<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt})
→ FutureOr<A>
-
Calls Runtime.runOrThrow on the ZIO, using the Runtime from runtimeAtom.
-
runZIOSync<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt})
→ Exit<E, A>
-
Calls Runtime.runSync on the ZIO, using the Runtime from runtimeAtom.
-
runZIOSyncOrThrow<E, A>(EIO<E, A> zio)
→ A
-
Calls Runtime.runSyncOrThrow on the ZIO, using the Runtime from runtimeAtom.