Stephen R. van den Berg wrote:
As far as naming the method is concerned, one could argue if it's supposed to be query_promise() or promise_query(). Any preferences?
After fixing some docs, I think that the current promise_query() is best.
On another note, presuming that everyone agrees that this interface is pretty neat to begin with, I'd probably want to revisit the HTTP.Promise interface. There might be more elegant solutions there that mimic the way Sql.Promise works.