withDelay

fun withDelay(ticks: Int, runnable: Runnable)(source)

Runs runnable on the main thread after waiting for the specified number of ticks