Deferred<E, A> class
A Deferred is represents a value that may not be available yet.
Constructors
- Deferred()
- Deferred.completed(A value)
- Deferred.failed(E error)
-
Deferred.failedCause(Cause<
E> cause)
Properties
-
awaitExitIO
→ IO<
Exit< E, A> > -
latefinal
-
awaitIO
→ EIO<
E, A> -
latefinal
-
completed
→ IO<
bool> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unsafeCompleted → bool
-
no setter
Methods
-
await<
R> () → ZIO< R, E, A> -
awaitExit<
R, E2> () → ZIO< R, E2, Exit< E, A> > -
complete<
R, E2> (A value) → ZIO< R, E2, Unit> -
completeExit<
R, E2> (Exit< E, A> exit) → ZIO<R, E2, Unit> -
completeIO(
A value) → IO< Unit> -
fail<
R, E2> (E error) → ZIO< R, E2, Unit> -
failCause<
R, E2> (Cause< E> cause) → ZIO<R, E2, Unit> -
failCauseIO(
Cause< E> cause) → IO<Unit> -
failIO(
E error) → IO< Unit> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unsafeCompleteExit(
Exit< E, A> exit) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited