The value stored by the executor.
ReadonlyannotationsThe map of annotations associated with the executor.
ReadonlyinvalidatedThe timestamp when the executor was invalidated, or 0 if the executor isn't invalidated.
Readonlyistrue if the executor was activated more times then deactivated.
Readonlyistrue if the executor was fulfilled with a value, or false otherwise.
Readonlyistrue if invalidate was called on a settled executor and
a new settlement hasn't occurred yet.
Readonlyistrue if the execution is currently pending, or false otherwise.
Readonlyistrue if the executor was rejected with a reason, or false otherwise.
ReadonlyisReadonlykeyThe key of this executor, unique in scope of the manager.
ReadonlymanagerThe manager that created the executor.
ReadonlypromiseThe promise of the pending task execution, or null if there's no pending task execution.
Note: This promise is aborted if the task is replaced. Use getOrAwait to wait until the executor becomes settled.
ReadonlyreasonThe reason of the latest failure.
Note: An executor may still have a rejection reason even if it was fulfilled. Check isRejected to ensure that an executor is actually rejected.
ReadonlysettledThe timestamp when the executor was settled, or 0 if it isn't settled.
ReadonlytaskThe latest task that was executed, or null if the executor didn't execute any tasks.
ReadonlyvalueThe value of the latest fulfillment.
Note: An executor may still have value even if it was rejected. Use get, getOrDefault, or getOrAwait to retrieve a value of the fulfilled executor.
ReadonlyversionThe integer version of the state of this executor that is incremented every time the executor is mutated.
Waits for the executor to become settled and non-pending. Then, the returned promise is resolved with a value if the executor is fulfilled, or rejected with a reason if the executor is rejected.
If the executor is detached during this operation, then the returned promise is rejected with the AbortError.
The default value.
The default value.
Captures the snapshot of the current executor state.
Subscribes the listener to changes of the observed value.
The listener to subscribe.
Provides access execution results and allows to subscribe to an execution state changes.