If it is cancelleable, then, first, you should wra...
# coroutines
e
If it is cancelleable, then, first, you should wrap it with
suspendCancellableCoroutine
. Then, after you’ve done that, you can use
withTimeout(timeout) { myOperation() }