|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
A state channel that holds a value with a reducer and version tracking. More...
#include <types.h>
Public Attributes | |
| std::string | name |
| Channel name. | |
| ReducerFn | reducer |
| Custom reducer (when type == CUSTOM). | |
| ReducerType | reducer_type = ReducerType::OVERWRITE |
| Merge strategy. | |
| json | value |
| Current channel value. | |
| uint64_t | version = 0 |
| Version counter (incremented on each write). | |
A state channel that holds a value with a reducer and version tracking.
Channels are the primary state storage mechanism in the graph engine. Each channel has a name, a reducer that controls how new values are merged with existing ones, and a version counter.