bj0
09/20/2018, 4:33 PMCoroutineScope
object, is there a way to wait for it to finish (like coroutineScope
waits)?elizarov
09/20/2018, 6:27 PMcoroutineScope { ... }
to wait. If you need an “object”, use async { ... }
and then .await
on its resultbj0
09/20/2018, 6:56 PMConnection
that implements CoroutineScope
like the example activity in the docs. Then I have some service create that object and start it, since I'm not using coroutineScope
, nothing is inherited and it's not a child, so is there a way to wait for it's scope to complete?bj0
09/20/2018, 6:57 PMJob
directly and .join
, but I was wondering if there was something specific to scopes that would make that unnecessaryelizarov
09/20/2018, 9:48 PM