# Function getExecutionDuration

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- getExecutionDuration(context: WorkflowExecutionContext): number

  Gets the execution duration in milliseconds.

  #### Parameters

  - context: WorkflowExecutionContext

    The execution context

  #### Returns number

  Duration in milliseconds

  - Defined in packages/nexus-agents/src/workflows/execution-context.ts:171