await() 也是suspend函式, 只能在協程之內呼叫. fun main() = runBlocking { // @coroutine#1 println(Thread.currentThread().name) val deferred: ...
確定! 回上一頁