UNPKG

shadow-function

Version:

ioing lib - shadow Function, worker Function

17 lines (16 loc) 360 B
declare type options = { polls: number; timeout: number; }; declare class TryAgain { polls: number; private task; private timeout; private timeoutId; constructor(task: Function, options: options); try(): false | undefined; stop(): void; wait(time: number): void; over(): void; } export { TryAgain };