floxide-core 3.2.2

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