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

runAsync

fun runAsync(poolSize: Int = RAsync.instance.settingPoolSize, action: () -> Unit): Unit
fun runAsync(poolSize: Int = RAsync.instance.settingPoolSize, action: F0): Unit

run code inside of Background thread with custom pool size this will help in multi-threading working

fun runAsync(action: () -> Unit): Unit
fun runAsync(action: F0): Unit

run code inside of Background thread with default pool size this will help in multi-threading working