nwh
10/07/2018, 6:43 PMsuspend
function? If I don't use launch/async
etc to launch anythingelizarov
10/07/2018, 6:47 PMelizarov
10/07/2018, 6:48 PMnwh
10/07/2018, 6:50 PMsuspend
function without any context, how should I do that? Maybe I misunderstand suspend functions but:
suspend fun sample() {
// no isActive
}
I could launch something but I don't want to potentially change scopes/dispatcherselizarov
10/07/2018, 6:52 PMcoroutineContext.isActive
nwh
10/07/2018, 6:56 PM