updates of dokka

This commit is contained in:
InsanusMokrassar committed 2020-11-10 17:10:32 +06:00
1 parent c59e601e2e
commit 5b596c76e0
16 files changed
+246 -21

No files matched your search

@@ -0,0 +1,10 @@
package dev.inmo.micro_utils.coroutines
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
suspend inline fun <T> doInUI(noinline block: suspend CoroutineScope.() -> T) = withContext(
Dispatchers.Main,
block
)