RichUtils / pyxis.uzuki.live.richutilskt.utils / runDelayed

runDelayed

fun runDelayed(delayMillis: Long, action: () -> Unit): Boolean
fun runDelayed(delayMillis: Long, action: F0): Boolean

run code inside of Background Thread after given delay

Parameters

delayMillis - delay in ms

action - code to execute