optimize imports

This commit is contained in:
InsanusMokrassar 2021-05-24 12:29:31 +06:00
parent 5853f7cc49
commit 9b30efd9a2
2 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,6 @@
package dev.inmo.micro_utils.coroutines package dev.inmo.micro_utils.coroutines
import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
suspend inline fun <T> doInIO(noinline block: suspend CoroutineScope.() -> T) = withContext( suspend inline fun <T> doInIO(noinline block: suspend CoroutineScope.() -> T) = withContext(
Dispatchers.IO, Dispatchers.IO,

View File

@ -1,9 +1,8 @@
package dev.inmo.micro_utils.coroutines package dev.inmo.micro_utils.coroutines
import dev.inmo.micro_utils.coroutines.asDeferred
import dev.inmo.micro_utils.coroutines.launchSynchronously
import kotlinx.coroutines.* import kotlinx.coroutines.*
import kotlin.test.* import kotlin.test.Test
import kotlin.test.assertEquals
class DoWithFirstTests { class DoWithFirstTests {
@Test @Test