CompositeHook class

Composite hook - combines multiple hooks.

Inheritance

Constructors

CompositeHook(List<RuntimeHook> hooks)

Properties

hashCode → int
The hash code for this object.
no setterinherited
hooks → List<RuntimeHook>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

afterExecution(SkillContext context, SkillResult result) → Future<void>
Called after skill execution completes.
override
beforeExecution(SkillContext context) → Future<void>
Called before skill execution starts.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBudgetCheck(SkillContext context, BudgetCheckResult result) → Future<void>
Called when budget is checked.
inherited
onClaimsExtracted(SkillContext context, List claims) → Future<void>
Called when claims are extracted.
inherited
onContextBuilding(SkillContext context) → Future<void>
Called when context building phase starts.
override
onError(SkillContext context, Object error, StackTrace stackTrace) → Future<void>
Called when an error occurs.
override
onExecutionStart(SkillContext context) → Future<void>
Called when execution phase starts.
override
onPersistence(SkillContext context) → Future<void>
Called when persistence phase starts.
override
onPlanning(SkillContext context, List<String> skillIds) → Future<void>
Called when planning phase starts.
override
onRouting(SkillContext context) → Future<void>
Called when routing phase starts.
override
onStepComplete(SkillContext context, String stepId, Map<String, dynamic> output) → Future<void>
Called when a step completes.
override
onStepFailure(SkillContext context, String stepId, Object error) → Future<void>
Called when a step fails.
inherited
onStepStart(SkillContext context, String stepId, Map<String, dynamic> inputs) → Future<void>
Called when a step starts executing.
override
onValidation(SkillContext context) → Future<void>
Called when validation phase starts.
override
onWarning(SkillContext context, String message) → Future<void>
Called for non-fatal warnings.
override
toString() → String
A string representation of this object.
inherited

Operators

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