I could simply do this ``` launch(CommonPool) { ...
# coroutines
l
I could simply do this
Copy code
launch(CommonPool) {
    view.show()
    val result = ApiClient.getSomething().awaitResult()
    doSomethingWithResult(result)
    view.hide()
}
and it works just fine, but I would like to abstract this to avoid writing this show/hide every time