Is it good variant for non cancellable Deferred? `...
# coroutines
e
Is it good variant for non cancellable Deferred?
Copy code
async {
                globalScope
                    .async {
                        val response = repository.logout()
                        clearCookies.execute()
                        response
                    }.await()
            }
y
use
withContext(NonCancellable)
instead
😯 1
e
Thanks