What is the effect using `NonCancellable` in the f...
# android
s
What is the effect using
NonCancellable
in the following case? Would it outlive the scope and finish the job?
Copy code
viewModelScope.launch {
    withContext(NonCancellable + <http://Dispatchers.IO|Dispatchers.IO>) {
         // some job
    }
}
g
Yes, it would
s
Thanks