@threadplane/ag-uiInterfacev0.3.7

DecisionRun

The run a decision is read against: its identifier, outcome and last event.

import type { DecisionRun } from '@threadplane/ag-ui';

Declaration

export interface DecisionRun  {
  readonly id: string;
  readonly outcome?: CompleteOutcome;
  readonly terminal?: OwnedRootTerminal;
}

Members

id

The run's identifier.

readonly id: string;

outcome

How the run ended, once it has.

readonly outcome?: CompleteOutcome;

terminal

The event that ended the run.

readonly terminal?: OwnedRootTerminal;