Expand description
Node trait and related types.
Nodes are the fundamental building blocks of a REGULA graph. Each node is an async function that receives state and produces updates.
Re-exports§
pub use crate::config::RunnableConfig;
Structs§
- Command
- A command that combines state update with explicit routing.
- FnNode
- A node created from an async function.
Enums§
- Command
Goto - Target for command routing.
- Node
Output - The output from a node execution.
- Retry
Policy - Retry policy for node execution.
Traits§
- Node
- Trait for graph nodes.
Functions§
- node_fn
- Create a node from an async function.
- node_
fn_ named - Create a named node from an async function.
Type Aliases§
- Boxed
Node - A boxed node for type erasure.