@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
12 lines • 378 B
TypeScript
import type { Duration } from './Duration';
/**
* @group Time
*/
export interface RepeatUntilLimits<Result> {
exitCondition?: (result: Result) => boolean;
maxInvocations?: number;
delayBetweenInvocations?: (i: number) => Duration;
timeout?: Duration;
errorHandler?: (error: Error, result?: Result) => void;
}
//# sourceMappingURL=RepeatUntilLimits.d.ts.map