import kotlinx.coroutines.* fun main() { GlobalScope.launch { // 在后台启动一个新的协程并继续 delay(1000L) // 非阻塞的等待1 秒钟(默认时间单位是毫秒)
確定! 回上一頁