https://kotlinlang.org logo
#coroutines
Title
# coroutines
v

Vikas Singh

01/30/2021, 1:27 PM
how can we know that our suspendcancellable coroutine is cancelled ?
z

Zach Klippenstein (he/him) [MOD]

01/30/2021, 5:31 PM
Check the job in the context:
continuation.context[Job]
m

Michael Ferguson

01/31/2021, 3:53 PM
The continuation also has
isActive
,
isCompleted
,
isCancelled
properties.
4 Views