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

pakoito

09/03/2017, 5:44 PM
does anyone have an example of starting a coroutine inside a suspendCoroutineOrReturn block?
d

dragas

09/03/2017, 6:42 PM
why not return a job and
join
it when necessary?
p

pakoito

09/03/2017, 10:09 PM
That’s a blocking solution, I’m after a non-blocking one
Problem is for non-blocking, even if you start a new deferred, the result never seems to complete or return back
even if you move the outer coroutine’s continuation inside the completion block of the inner one
5 Views