Any chance of adding Promises?
See original GitHub issueThe core aws-sdk dependency added promises to the core, via a “.promise” call appended to each service. Ex:
var s3 = new AWS.S3();
s3.listBuckets(params).promise().then();
Any chance of that functionality being added to this library?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:7 (4 by maintainers)
Top Results From Across the Web
What's the difference between Promise.all and adding ...
A Promise represents the eventual completion (or failure) of an asynchronous operation, and its resulting value. When a Promise is created, the ......
Read more >Promises chaining - The Modern JavaScript Tutorial
Promises provide a couple of recipes to do that. In this chapter we cover promise ... We can add more asynchronous actions to...
Read more >JavaScript Promise Tutorial – How to Resolve or Reject ...
First, let us create a generic function that accepts a PokeAPI URL as argument and returns a Promise. If the API call is...
Read more >Improve async programming with JavaScript promises
Learn what you need to know about async programming with JavaScript promises, including promises in parallel, in this comprehensive guide.
Read more >Forever Functional: Waiting with Promises - OpenReplay Blog
Since testing for the condition continuously is out of the question, we could add some delay between tests. Using a promise is a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@MathieuLoutre to be able to use mock-aws-s3 for tests of the existing code it is necessary to have promise support. Any chance of getting that?
This has been merged now! Let me know how you get on with it.