KaiselGuardRun<R extends KaiselRoute> class

A recorded run of the guard pipeline, retained for debugging.

Captures the proposed stack going in, each guard's effect in pipeline order, and the final stack out. Populated by KaiselRouter.debugLastGuardRun in debug builds only.

Annotations
  • @immutable

Constructors

KaiselGuardRun({required List<R> input, required List<KaiselGuardStep<R>> steps, required List<R> output})
Create a guard-run record.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
input List<R>
The proposed stack going into the pipeline.
final
output List<R>
The final stack the pipeline produced.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<KaiselGuardStep<R>>
One step per guard, in pipeline order.
final

Methods

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