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

runAsync

fun runAsync(action: () -> Unit, poolSize: Int = RAsync.instance.settingPoolSize): Unit
fun runAsync(action: F0, poolSize: Int = RAsync.instance.settingPoolSize): 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