API reference@evolu/commonTask › 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

Properties

abort

readonly abort: {
  observed:   | AbortReason
     | null;
  request: AbortReason;
};

Defined in: packages/common/src/Task.ts:1846

NameTypeDescriptionDefined in
observed| AbortReason | nullAbort observed after abort masks are applied.packages/common/src/Task.ts:1851
requestAbortReasonAbort request propagated through the Run tree before masking.packages/common/src/Task.ts:1848

Inherited from

RunAbortState.abort


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

Inherited from

Typed.type