floxide_core/transition.rs
1/// Transition result of a node: Next->next node, Abort->error
2/// Transition result of a node.
3pub enum Transition<Output> {
4 /// Emit a single output to successors.
5 Next(Output),
6 /// Emit multiple outputs to successors (split / fan-out).
7 NextAll(Vec<Output>),
8 /// Hold this work item; do not emit any outputs until a condition is met.
9 Hold,
10 /// Abort the workflow with an error.
11 Abort(crate::error::FloxideError),
12}