Marcin Gryszko
10/29/2019, 6:20 AMSuspendLambda resumes its execution after last suspension point when invokeSuspend is called again? Is the magic field L$0 inside SuspendLambda responsible for this?
I'm working with a dead-simple snippet to understand the inner workings:
fun main() {
val i = runBlocking {
delay(1000)
1
}
println(i)
}suhas
10/29/2019, 6:26 AMelizarov
10/29/2019, 8:12 AM