Join Slack
Powered by
How can I make a http request which returns the re...
# http4k
r
reactormonk
07/12/2023, 4:10 PM
How can I make a http request which returns the response via coroutine once it's ready?
n
Nicola
07/13/2023, 4:02 PM
If you mean "make a bunch of http requests in parallel and await for all responses" I found very helpful this answer on SO:
https://stackoverflow.com/questions/56857269/iterating-coroutines-and-awaiting-results
r
reactormonk
07/17/2023, 2:13 PM
No, I'm trying to find the async API
o
Oliver Eisenbarth
07/27/2023, 7:31 AM
Don't know the current state of coroutine support, but this one might be interesting for you:
https://github.com/http4k/http4k/issues/94
5
Views
Open in Slack
Previous
Next