DisposableInstrumentation class abstract interface

Optional capability: an Instrumentation that holds resources needing release (e.g. stream subscriptions, HTTP clients).

Genkit calls dispose on any configured provider that implements this when instrumentation is torn down (e.g. Genkit.shutdown() or, in tests, resetInstrumentation). Providers that hold nothing can ignore this.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases resources held by this provider. Safe to call more than once.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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