UNPKG

tsbase

Version:

Base class libraries for TypeScript

8 lines (7 loc) 260 B
/** * Wait until the condition is met or the given limit is reached (whichever is first). * @param condition * @param interval * @param limit */ export declare function Until(condition: () => boolean, interval?: number, limit?: number): Promise<boolean>;