Interface StepHookSource
interface StepHookSource {
attempt: Attempt;
hook:
| "on step success"
| "on step failure"
| "on step retry"
| "on step abnormal termination";
kind: "step hook";
policy: PolicyName;
step: StepName;
}
attempt: Attempt;
hook:
| "on step success"
| "on step failure"
| "on step retry"
| "on step abnormal termination";
kind: "step hook";
policy: PolicyName;
step: StepName;
}
Hierarchy (View Summary)
- ByStepHook
- During
- StepHookSource
A hook of a step policy, with the step and attempt that triggered it.