|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
Owns one Core graph invocation and its cancellation lifetime. More...
#include <invocation.h>
Public Member Functions | |
| RunInvocation (std::shared_ptr< GraphEngine > engine, RunInvocationRequest request) | |
| Compatibility constructor; new hosts retain GraphExecution instead. | |
Owns one Core graph invocation and its cancellation lifetime.
A RunInvocation is single-use: call exactly one of run/resume/resume_from (sync or async). The exposed token remains valid until the invocation is destroyed, allowing protocol cancellation handlers to race the execution safely. RunConfig, metadata, resources, and callbacks are copied/moved into the object before execution starts.
Definition at line 84 of file invocation.h.