Execution

org.llm4s.agent.graph.Execution
final class Execution

A graph run paused at a superstep boundary: the committed state, the ready frontier, the open join activations and any parked continuations. Advance it with CompiledGraph.step; answer its interrupts with CompiledGraph.resume; persist it with CompiledGraph.snapshot.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def isPaused: Boolean

A task suspended in the last superstep: the run pauses until a resume.

A task suspended in the last superstep: the run pauses until a resume.

Attributes

def isQuiescent: Boolean

No task is ready: the next step completes the run, suspends it, or reports an unsatisfied join.

No task is ready: the next step completes the run, suspends it, or reports an unsatisfied join.

Attributes

The parked continuations, in the order they were parked.

The parked continuations, in the order they were parked.

Attributes

def pendingTasks: Vector[(TaskId, NodeId)]

The ready tasks, in the order their updates will be applied.

The ready tasks, in the order their updates will be applied.

Attributes

Concrete fields

val superstep: Int