Are there any plans to add promise support in future releases? There are packages that help with that, allowing dual support for node callback pattern and promises.
Account.create([item1, item2, item3], function (err, acccounts) {
console.log('created 3 accounts in DynamoDB', accounts);
});
// or
Account.create([item1, item2, item3]).then(function (acccounts) {
console.log('created 3 accounts in DynamoDB', accounts);
}).catch(function (err) {
console.error(err);
});
Are there any plans to add promise support in future releases? There are packages that help with that, allowing dual support for node callback pattern and promises.
Some of those packages are hybridify and polygoat, and packages like any-promise would allow flexibility of implementation choice.