interface EffectActionState<A, E> One consistent reading of an EffectAction. A new object is published for every change.
Properties
pending
readonly pending: boolean; True while a run is in flight.
value
readonly value: A | undefined; The value of the last successful run.
error
readonly error: E | undefined; The typed failure of the last run, such as ViewCommandFailed.
cause
readonly cause: Cause.Cause<E> | undefined; The complete cause of the last failed or interrupted run, including defects.