# Type Alias StepExecutor

StepExecutor: (
step: WorkflowStep,
context: ExecutionContext,
) => Promise<StepResult>

Function signature for step execution.

#### Type Declaration

- - (step: WorkflowStep, context: ExecutionContext): Promise<StepResult>

  - #### Parameters

    - step: WorkflowStep
    - context: ExecutionContext

    #### Returns Promise<StepResult>

- Defined in packages/nexus-agents/src/workflows/parallel-executor.ts:44