org.llm4s.agent.graph.EventRecord
See theEventRecord companion object
A committed durable event. seq is per thread, allocated in the commit that stored the event, contiguous and never reused; an event is delivered to subscribers only after that commit.
token is the FencingToken of the claim the commit was fenced by (Commit.token): one incarnation of a run. A RunId may be reused - a recovery under the same id, or any run given one with RunConfig.withRunId - so two runs on a thread can share an id, but never a token: the store issues each claim a token above every earlier one. A record written before tokens were recorded reads as FencingToken(0), which no store issues.
Attributes
- Companion
- object
- Source
- RunEvent.scala
- Graph
-
- Supertypes
Members list
In this article
