AgentRunHandle class

A live run, held by whoever started it.

The run is written once when it begins (so a crash leaves a running row for AgentRunTelemetryStore.recoverInterrupted to find) and once when it ends. Model calls are counted in memory in between rather than through a read-modify-write per call.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The run's id, as stamped onto its usage records.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

countModelCall() → void
Counts one model call against the run.
fail() Future<void>
Marks the run failed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
succeed() Future<void>
Marks the run succeeded.
toString() String
A string representation of this object.
inherited

Operators

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