https://kotlinlang.org logo
#coroutines
Title
# coroutines
r

Ryu Ishikawa

12/11/2020, 6:55 AM
Hi folks, now I'm diving into kotlin.coroutines to understand how Coroutines work internally. and I found
suspendCoroutineUninterceptedOrReturn
function. It looks like the lowest API I can reach. (since it says
throw NotImplementedError("Implementation of suspendCoroutineUninterceptedOrReturn is intrinsic")
) Is there any good document to understand how it works in bytecode level or anything else? Especially, I'd like to understand how
suspendCoroutineUninterceptedOrReturn
capture the current running coroutine. thanks you! (If it's not good to post that here, please let me know where to post 🙇 )
a

André Thiele

12/11/2020, 12:32 PM
There are a good medium articles by Garima Jain, and Manuel Vivo who look at the implementation details of Coroutines
o

okarm

12/11/2020, 4:05 PM
r

Ryu Ishikawa

12/11/2020, 10:25 PM
@okarm @André Thiele Thank you so much!
👍 1
5 Views