Can anyone help me understand how can we handle as...
# web-mpp
a
Can anyone help me understand how can we handle asynchronous network calls with ktor http client like adding loader and when it is either success or error then hide it and load appropriate data, with promises and observables it could be done through success or error callback but how can we achieve the same with ktor http client?
a
with ktor just wrap your request in a try catch block
🙏 1