You have to suspend to be cancellable, moreover th...
# coroutines
e
You have to suspend to be cancellable, moreover the implementation has to use
suspendCancellableCoroutine
from
kotlinx.coroutines
(just in case you are writing your own functions that suspend)