sleep

external fun sleep(timeout: JsDuration): Promise<Void?>(source)