<@U4QQQ0J1H> `inline fun withLoading(before: () -&...
# coroutines
d
@leosan
inline fun withLoading(before: () -> Unit, after: () -> Unit, block: suspend () -> Unit) { before(); block(); after(); }
Then run like this:
withLoading(view::show, view::hide) { ... }
I think that should do it?