Skip to main content

Module executor

Module executor 

Source
Expand description

DAG executor — schedules and runs tasks with maximum parallelism.

The executor is a single-threaded scheduler that dispatches tasks to worker threads. It blocks on an mpsc channel waiting for completions, then immediately dispatches any newly-ready tasks. This gives maximum parallelism without busy-waiting: a task starts the instant its dependencies are satisfied and a pool slot is available.

Structs§

DagExecutor
The DAG executor. Constructed via DagBuilder or StageBuilder.
DagReport
Report from a DAG execution run.

Enums§

DagEvent
Events emitted during DAG execution for monitoring.

Traits§

DagMonitor
Callback trait for monitoring DAG execution progress.