chain

Function chain 

Source
pub fn chain(agents: Vec<AgentBuilder>) -> Composable
Expand description

Chain: simple sequential pipeline of agents.

This is an alias for the >> operator but accepts a Vec. Each agent runs in order, with the output of one feeding into the next.

§Example

let pipeline = chain(vec![
    AgentBuilder::new("extract"),
    AgentBuilder::new("transform"),
    AgentBuilder::new("load"),
]);