Join Slack
Powered by
<@U88FT23DE> It can only be cancelled at the suspe...
# coroutines
p
petersommerhoff
04/24/2018, 7:52 AM
@Dario Pellegrini
It can only be cancelled at the suspension points,
deferred.await()
is such a suspension point (like any other suspending function call) so yes, if it's cancelled before/during the
await()
call, the
Log.i
is not reached anymore
2
Views
Open in Slack
Previous
Next