cch1 / http.async.client

Async Http Client - Clojure
http://cch1.github.com/http.async.client
267 stars 40 forks source link

Autoqueueing of Connections #33

Closed angerman closed 8 years ago

angerman commented 12 years ago

Fequrerequest: When dealing with a source of urls, calling (c/GET client url) for each url would be convenient. If the client could be configured to the maximum concurrent request to fullfil, the returned promises would just block until the url was requested and taken off the queue.

cch1 commented 8 years ago

Without a strong use case, I'm going to leave this for callers to implement themselves. The semantics of handling multiple exceptions and even correlating responses (and exceptions) to URLs could be too varied to warrant a single implementation.