>given there’s no thread switching or anything ...
# coroutines
p
given there’s no thread switching or anything really asynchronous in my logic
looks overkill here too unless you have something that does IO in removeAllCookies and setCookie
g
removeCookie operation doesn’t do any IO, but this opearion is asyncronous, so without callback you cannot be sure that it completed
p
what does asynchronous mean in this context? jump thread? IO?
g
Just waits when actual cookie value will be updated in webview
Not sure about threds/IO, maybe, but it’s implementation detail, most important async interface allows you to know when cookie is actually updated