📜  kotlin 协程作用域 - Kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:32.686000             🧑  作者: Mango

代码示例1
CoroutineScope
To start coroutine scope you can:
Use GlobalScope that has empty coroutine context.
Implement CoroutineScope interface.
Create a scope from a context:
with(CoroutineScope(context = context)) { ... }