Crate flowrs_core

Source
Expand description

§Flowrs Core

Core components of the flowrs framework for directed graph workflows

Re-exports§

pub use action::ActionType;
pub use action::DefaultAction;
pub use batch::BatchContext;
pub use batch::BatchFlow;
pub use batch::BatchNode;
pub use error::FlowrsError;
pub use error::FlowrsResult;
pub use lifecycle::lifecycle_node;
pub use lifecycle::LifecycleNode;

Modules§

action
batch
error
lifecycle

Structs§

RetryNode
A node that retries another node if it fails
Workflow
A workflow composed of connected nodes

Enums§

BackoffStrategy
Backoff strategy for retries
NodeOutcome
Possible outcomes of node execution
WorkflowError
Workflow execution error

Traits§

Node
Core trait that all workflow nodes must implement

Functions§

node
Create a node from a closure

Type Aliases§

NodeId
Unique identifier for a node in a workflow