setTimeout

fun setTimeout(timeMs: Int, block: () -> Unit): Int

Helper function for a nicer use of Window.setTimeout returning an Int.

Return

The timer id