Skip to main content

Module patterns

Module patterns 

Source
Expand description

Helpers for building common workflow shapes.

These are convenience constructors that return Arc<dyn Task> collections wired together with the right dependencies, so callers don’t hand-roll fan-out/fan-in topologies.

Functions§

fan_out_in
Build a fan-out / fan-in subgraph.
pipeline
Build a linear pipeline: stages[0] -> stages[1] -> ....