Allow async backends to return whatever makes sense (moved here from kaiwren/wrest)
Closed this issue · 2 comments
kaiwren commented
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 }