mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 18:47:51 +02:00
Update to kotlinx.coroutines 0.23.4
This commit is contained in:
@ -7,7 +7,7 @@ import kotlinx.coroutines.experimental.android.UI
|
||||
import kotlinx.coroutines.experimental.launch
|
||||
|
||||
fun launchUI(block: suspend CoroutineScope.() -> Unit): Job =
|
||||
launch(UI, CoroutineStart.DEFAULT, null, block)
|
||||
launch(UI, CoroutineStart.DEFAULT, null, null, block)
|
||||
|
||||
fun launchNow(block: suspend CoroutineScope.() -> Unit): Job =
|
||||
launch(UI, CoroutineStart.UNDISPATCHED, null, block)
|
||||
launch(UI, CoroutineStart.UNDISPATCHED, null, null, block)
|
||||
|
Reference in New Issue
Block a user