RunFinished class

Emitted at the very end of a worker run.

Inheritance

Constructors

RunFinished({required bool succeeded, required int turns, RunnerTokenUsage totalUsage = const RunnerTokenUsage(), DateTime? at, String? message})
Creates the event.

Properties

at DateTime
Timestamp when the event was emitted.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
Optional human-readable summary.
finalinherited
name String
Stable enum-like name for logging and snapshots.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
succeeded bool
Whether the worker exited normally.
final
totalUsage RunnerTokenUsage
Aggregate token usage across all turns.
final
turns int
Total turns executed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON view used by the snapshot/dashboard.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited