taoensso / faraday

Amazon DynamoDB client for Clojure
https://www.taoensso.com/faraday
Eclipse Public License 1.0
238 stars 84 forks source link

Should update-table still return a promise? #81

Closed ricardojmendez closed 8 years ago

ricardojmendez commented 8 years ago

Given that:

Do we still need update-table to return a promise? Doesn't it make more sense to make it a blocking call, since we don't want to execute multiple updates while one is already running?

Although (thinking out loud) if the update operation takes a while, we wouldn't want to block the thread for the duration...

ricardojmendez commented 8 years ago

Nevermind, the operations can take a while and we could continue adding items meanwhile, just not updating the table.