pub fn pipeline<F, Fut>(stages: Vec<(String, F)>) -> Vec<Arc<dyn Task>>Expand description
Build a linear pipeline: stages[0] -> stages[1] -> ....
Each stage is a (id, closure) pair; stage n is made to depend on stage
n-1, so they execute strictly in order.