NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::program::ProgramJavaScriptCommandJournalEntry Class Referencefinal

Immutable, content-addressed command-journal value. More...

#include <command_journal.h>

Public Member Functions

const std::string & coordinate_id () const noexcept
 Stable identity for the command coordinate, excluding the result.
 
const std::string & id () const noexcept
 Content identity for this append-only entry.
 

Static Public Attributes

static constexpr std::uint32_t STORAGE_SCHEMA_VERSION = 3
 Version 2 adds settled_members and version 3 await_started_at; an entry uses the lowest version that holds its fields, so entries without them keep version 1 and their bytes and ids.
 

Detailed Description

Immutable, content-addressed command-journal value.

The coordinate_id() is stable across the pending and completed append for one command. id() also includes the append sequence and result, so the append-only transition log can retain both states without an in-place update.

Definition at line 60 of file command_journal.h.


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