Paul Woitaschek
02/02/2019, 9:22 PMsuspend fun <http://CoroutineContext.xyz|CoroutineContext.xyz>()
and I perform a check and then call coroutineContext.cancel()
and then throw a CancellationException
.Allan Wang
02/02/2019, 9:22 PMAllan Wang
02/02/2019, 9:23 PMyield()
Paul Woitaschek
02/02/2019, 9:23 PMAllan Wang
02/02/2019, 9:23 PMsuspend
and CoroutineScope
extensions in one method. Suspending functions are long executions whereas coroutine scope functions launch and return quicklyPaul Woitaschek
02/02/2019, 9:26 PM