ZIOAtomContextExt extension

on

Methods

makeZIORunner<E, A>(EIO<E, A> zio) ZIORunner<E, A>

Available on AtomContext, provided by the ZIOAtomContextExt extension

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>>

Available on AtomContext, provided by the ZIOAtomContextExt extension

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>>

Available on AtomContext, provided by the ZIOAtomContextExt extension

Calls Runtime.runFuture on the ZIO, using the Runtime from runtimeAtom.
runZIOFutureOrThrow<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt}) Future<A>

Available on AtomContext, provided by the ZIOAtomContextExt extension

Calls Runtime.runFutureOrThrow on the ZIO, using the Runtime from runtimeAtom.
runZIOOrThrow<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt}) FutureOr<A>

Available on AtomContext, provided by the ZIOAtomContextExt extension

Calls Runtime.runOrThrow on the ZIO, using the Runtime from runtimeAtom.
runZIOSync<E, A>(EIO<E, A> zio, {DeferredIO<Never>? interrupt}) Exit<E, A>

Available on AtomContext, provided by the ZIOAtomContextExt extension

Calls Runtime.runSync on the ZIO, using the Runtime from runtimeAtom.
runZIOSyncOrThrow<E, A>(EIO<E, A> zio) → A

Available on AtomContext, provided by the ZIOAtomContextExt extension

Calls Runtime.runSyncOrThrow on the ZIO, using the Runtime from runtimeAtom.