vineethraj49
03/25/2020, 5:46 PMzak.taccardi
03/25/2020, 5:50 PMCoroutineScope is likely what you are looking for herezak.taccardi
03/25/2020, 5:51 PMCoroutineScope used to launch a coroutine has been cancelled, the coroutine will not run (or stop running if it already is)zak.taccardi
03/25/2020, 5:51 PMJob within the CoroutineScope that you are looking for. scope.coroutineContext[Job]!! is how you access itvineethraj49
03/25/2020, 6:01 PMconn here is a org.skife.jdbi.v2.Handlezak.taccardi
03/25/2020, 6:01 PMZach Klippenstein (he/him) [MOD]
03/25/2020, 7:19 PMawait* is pretty common.
suspend fun awaitFoo() = withContext(IO) { foo() }louiscad
03/25/2020, 7:59 PM