# Function emitExecutionComplete

- emitExecutionComplete(
  totalSteps: number,
  totalNodes: number,
  durationMs: number,
  options?: GraphExecuteOptions,
  ): void

  Emits execution_complete event when graph execution finishes.

  #### Parameters

  - totalSteps: number
  - totalNodes: number
  - durationMs: number
  - `Optional` options: GraphExecuteOptions

  #### Returns void

  - Defined in packages/nexus-agents/src/orchestration/graph/graph-events.ts:101