dynamodb
dynamodb copied to clipboard
Promise Support
Right now, this module supports callbacks and a streaming API. It would be extremely useful to have a Promise-based API for returning results as well.
Because the stream API is used if a callback isn't returned, a Promise API could follow a similar pattern to the AWS SDK and allow using a chained call to .promise().
For example:
Book.scan()
.exec()
.promise()
.then(console.log)
I have a PR coming for this.
Any update?
Hey guys, when is it coming? it will be really helpful to support promise.
Pretty please.
+1
Some updates on the promises support ?
Cheers, Hamlet
Hi Guys, any news on this?
Hi, apparently no... :-(
Hamlet
Still not passing tests.
Any ETA ?
Thanks for sharing, Hamlet
hi,
Any updates on this? I would be really helpful to have the promise support?
Thanks
Hi.
What is the progress?
@Seiji-myant I created a fork and added the promise support... you can check it here