# Interface StageCompletedOptions

Options for emitting a stage completed event.

interface StageCompletedOptions {
bus?: IEventBus;
executionId: string;
stageId: string;
durationMs: number;
success?: boolean;
}

- Defined in packages/nexus-agents/src/pipeline/pipeline-observability.ts:26

##### Index

### Properties

bus?
executionId
stageId
durationMs
success?

## Properties

### `Optional` `Readonly` bus

bus?: IEventBus

- Defined in packages/nexus-agents/src/pipeline/pipeline-observability.ts:27

### `Readonly` executionId

executionId: string

- Defined in packages/nexus-agents/src/pipeline/pipeline-observability.ts:28

### `Readonly` stageId

stageId: string

- Defined in packages/nexus-agents/src/pipeline/pipeline-observability.ts:29

### `Readonly` durationMs

durationMs: number

- Defined in packages/nexus-agents/src/pipeline/pipeline-observability.ts:30

### `Optional` `Readonly` success

success?: boolean

- Defined in packages/nexus-agents/src/pipeline/pipeline-observability.ts:31