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

rogeralsing

07/23/2017, 2:38 PM
I was more thinking if there was any extra weight to the Job object, if there was a lighter version of the same thing, which just schedules but does not allow for any control of the outcome
k

kingsley

07/23/2017, 8:49 PM
I think the Job is pretty lightweight for your need. However, if you need to go really low level, then you should lookup the
suspendCoroutine
function
o

orangy

07/23/2017, 9:07 PM
and then go really deep into
suspendCoroutineOrReturn
🙂
1
4 Views