with-main.md 194 B

net / com.drake.net.utils / withMain

withMain

suspend fun <T> withMain(block: suspend CoroutineScope.() -> T): T

切换到主线程调度器