pub struct GraphInterrupt {
pub interrupts: Vec<InterruptSignal>,
pub step: usize,
pub namespace: Vec<String>,
}Expand description
Interrupt information from graph execution
Contains interrupt signals and the step at which they occurred.
Fields§
§interrupts: Vec<InterruptSignal>Interrupt signals
step: usizeStep at which interrupt occurred
namespace: Vec<String>Namespace of the graph that interrupted (for proper subgraph attribution)
This field carries the namespace of the graph where the interrupt originated, ensuring that when interrupts bubble up from subgraphs, they are properly attributed to their nested context.
For example, if a subgraph named “review” (under parent “agent”) interrupts,
this field will contain ["agent", "review"] so that stream events
correctly identify the interrupt source.
This is separate from checkpoint namespace because we need namespace
attribution for stream events even when checkpointing is disabled
(e.g., SubgraphPersistence::Stateless).
Trait Implementations§
Source§impl Clone for GraphInterrupt
impl Clone for GraphInterrupt
Source§fn clone(&self) -> GraphInterrupt
fn clone(&self) -> GraphInterrupt
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more