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

One append-only journal entry for one yielded JavaScript command. More...

#include <command_journal.h>

Collaboration diagram for neograph::program::ProgramJavaScriptCommandJournalEntryData:
[legend]

Public Attributes

std::optional< json > await_started_at
 Pending entries only (#391): when each ng.await with a timeout in this command started, as an object from the await's operation id to Unix epoch milliseconds.
 
std::optional< json > settled_members
 Pending entries only: the members of a paused join that already settled, as an object from member operation id to that member's recorded result.
 
std::optional< json > terminal_result
 Null for a durable pending head; present for an authoritative result.
 

Detailed Description

One append-only journal entry for one yielded JavaScript command.

Definition at line 25 of file command_journal.h.

Member Data Documentation

◆ await_started_at

std::optional<json> neograph::program::ProgramJavaScriptCommandJournalEntryData::await_started_at

Pending entries only (#391): when each ng.await with a timeout in this command started, as an object from the await's operation id to Unix epoch milliseconds.

An await that starts appends it after the pending head, every later pending entry of the coordinate carries it forward, and the attempt that resumes or recovers the command enforces each await's remaining time from its recorded start.

Definition at line 49 of file command_journal.h.

◆ settled_members

std::optional<json> neograph::program::ProgramJavaScriptCommandJournalEntryData::settled_members

Pending entries only: the members of a paused join that already settled, as an object from member operation id to that member's recorded result.

A paused join appends it after its pending head, and the attempt that resumes the join replays these members from it.

Definition at line 40 of file command_journal.h.


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