UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

17 lines (16 loc) 698 B
import { RetryStrategy } from './retry-strategy'; /** * NoRetryStrategy implements a retry strategy that does not perform any retries. * It is useful when you want to disable retries for certain operations. */ export declare class NoRetryStrategy implements RetryStrategy { baseDelayMs: number; retryCount: number; /** * Always returns 0 delay, as no retries are performed. * @param _attempt - The current retry attempt number (not used in this strategy) * @returns The delay in milliseconds for the current attempt (always 0) * @remarks This method is not used, but it's required by the RetryStrategy interface. */ getDelay(_attempt: number): number; }