# Type Alias WaveTaskExecutor<T>

WaveTaskExecutor: (task: WaveTask<T>) => Promise<string>

Executor function that processes a single WaveTask. Returns the output string (which will be truncated by the scheduler).

#### Type Parameters

- T = unknown

#### Type Declaration

- - (task: WaveTask<T>): Promise<string>

  - #### Parameters

    - task: WaveTask<T>

    #### Returns Promise<string>

- Defined in packages/nexus-agents/src/agents/wave-scheduler-types.ts:142