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

runDelayedOnUiThread

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

run code inside of UI Thread after given delay

Parameters

delayMillis - delay in ms

action - code to execute