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

gildor

08/11/2017, 4:59 AM
Actually, it depends what you want to achieve (is it in suspend context or not, do you really need different dispatchers for particular calls or not etc)
a

anthonyeef

08/13/2017, 8:44 AM
got your idea, thx! I actually need the first result as a param, inside the
invokeOnCompletion
is another coroutines scope and part of it I need to run in suspend context
g

gildor

08/13/2017, 12:56 PM
You can just wrap you code to any coroutine and use code from my previous message
4 Views