Join Slack
Powered by
Minor complaint, but there aren’t any first-class ...
# ktor
s
Sam Garfinkel
03/26/2020, 7:48 PM
Minor complaint, but there aren’t any first-class helpers for creating asynchronous instances of client requests? I know you can easily do
async { request { } }
but still would nice to eliminate the boilerplate.
l
Luke Rohde
03/26/2020, 7:56 PM
what syntax do you want?
d
Dominaezzz
03/26/2020, 9:00 PM
Async/concurrency by default is generally discouraged and should always be explicit.
You can make your own
requestAsync
method.
This is why they haven't made helpers.
s
Sam Garfinkel
03/26/2020, 9:14 PM
I did say it was minor 🙂
10
Views
Open in Slack
Previous
Next