UNPKG

waitee

Version:

Small library to manage moments when you need to wait something to happen. So you don't need to write wait-events by yourself.

6 lines (5 loc) 251 B
import { TimerInterface } from "./timer_interface"; declare const sleep: (time: number) => Promise<any>; declare const timer: (instantStart?: boolean) => TimerInterface; declare const exists: (a: any) => boolean; export { sleep, timer, exists };