updates of dokka

This commit is contained in:
2020-11-10 17:09:14 +06:00
parent c59e601e2e
commit 5b596c76e0
16 changed files with 246 additions and 21 deletions

View File

@@ -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
)