[Login] Promise-based methods don't return subscription list
See original GitHub issueI might be missing something, but I noticed that when using the login*
methods, the new Promise
support doesn’t expose the list of subscriptions, like the callbacks do. Is there a way to use Promises
and get both the credentials and subscription list after a successful login?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
How to return a function as subscription from inside of a promise
Subscription is being returned by an inbuilt function which I have no control of and I'm more comfortable with promises. Can you suggest...
Read more >Promise - The Modern JavaScript Tutorial
A promise is a special JavaScript object that links the “producing code” and the “consuming code” together. In terms of our analogy: this...
Read more >Javascript: How to access the return value of a Promise object
It's really important to note that the Promise object doesn't return a value, it resolves a value via the then() method. It is...
Read more >Promise.all() - JavaScript - MDN Web Docs
The Promise.all() method takes an iterable of promises as input and returns a single Promise. This returned promise fulfills when all of the ......
Read more >How do I make a JavaScript promise return something other ...
Promises don't "return" values, they pass them to a callback (which you supply with .then()). The spec simply sounds confused to me. It's...
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 FreeTop 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
Top GitHub Comments
That proposal sounds good to me!
Closing this issue as the PR has been merged and new version of ms-rest-azure: “2.1.0” has been published.