NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::PendingInterrupt Struct Reference

One NodeInterrupt of a paused super-step (#388). More...

#include <types.h>

Public Attributes

std::string id
 The paused invocation's stable task id, unique in its super-step: "s<step>:<node>" for a node of the ready batch, "s<step>:send[<index>]:<node>:<hash>" for a Send.
 
std::string node
 The node that raised it.
 
json value
 {"type": "NodeInterrupt", "reason": ..., "value": ...}, the shape of RunResult::interrupt_value ("value" only when the node attached one).
 

Detailed Description

One NodeInterrupt of a paused super-step (#388).

When several nodes or Sends of one super-step raise NodeInterrupt, the run pauses on all of them. Each is answered individually: a resume answers the interrupt that RunMetadata::resume_interrupt_id names, or the first one, and every other invocation that paused runs again without the resume value and asks again with its own payload.

Definition at line 248 of file types.h.


The documentation for this struct was generated from the following file: