gojek/wrest

Allow async backends to return whatever makes sense (moved here from kaiwren/wrest)

Closed this issue · 2 comments

I would like to have an api where I can wait for all of the async calls to finish. This branch returns the thread instead of nil. That way I can do

uris.map do |uri|
  uri.to_uri.get_async do |callback|
  ...
  end
end.each {|t| t.join }

@gregwebs I've re-posted your request as a ticket here. You can also open any subsequent tickets on the issue tracker (which has now been moved to this fork).

Fixed in c5a4012