API reference › @evolu/common › Task › RunStateSettled
Defined in: packages/common/src/Task.ts:1873
The Run has recorded its final outcome and all descendants have settled.
Disposal can request abort with runDisposedAbortReason before a defect
happens during cleanup. In that case abort.request stays as the disposal
reason, while exit records the cleanup defect as a
PanicAbortReason.
Extends
Typed<"Settled">.RunAbortState
Properties
abort
readonly abort: {
observed: | AbortReason
| null;
request: AbortReason;
};
Defined in: packages/common/src/Task.ts:1846
| Name | Type | Description | Defined in |
|---|---|---|---|
observed | | AbortReason | null | Abort observed after abort masks are applied. | packages/common/src/Task.ts:1851 |
request | AbortReason | Abort request propagated through the Run tree before masking. | packages/common/src/Task.ts:1848 |
Inherited from
exit
readonly exit: RunExit;
Defined in: packages/common/src/Task.ts:1875
The final outcome recorded by the Run.
type
readonly type: "Settled";
Defined in: packages/common/src/Type.ts:8883