Interface StepPolicyClass<R>
interface StepPolicyClass<R = unknown> {
new StepPolicyClass(): StepPolicy<R>;
prototype: StepPolicy<R>;
}
new StepPolicyClass(): StepPolicy<R>;
prototype: StepPolicy<R>;
}
Type Parameters
- R = unknown
The roles it requests.
Constructors
constructor
-
Builds the policy for one attempt.
Returns StepPolicy<R>
A class extending StepPolicy, which itinera builds for each attempt with a constructor that takes nothing.