只有a()会被转为类型为SuspendLmabda的Continuation吗?
来源:11-6 Kotlin 协程的基本要素2

慕前端9039556
2020-09-13
suspend a(){
b()
}
suspend b{
b1()
b2()
}
suspend b1{…}
suspend b2{…}
a{…}.startCoroutine(compeleted)
只有a()会被转为类型为SuspendLmabda的Continuation吗?
b()、b1()、b2()都还是普通的suspend函数 对吗?
写回答
1回答
-
是的,没错
042020-09-28
相似问题