setTimeout

external fun setTimeout(handler: TimerHandler, timeout: Int = definedExternally): Timeout(source)

MDN Reference


fun setTimeout(timeout: Duration, handler: TimerHandler): Timeout(source)