Assume that you have more than one promise and you need to know when all the promises get resolved or you have to wait till all the promises resolve.
Other things I've written
How to Start Vim temporarily without settings or plugins
Sometime you want temporarily to disable your vimrc without loading any of my plugins or settings. In this article, we will see how can we do that
Allowing users to copy Code Snippets to clipboard is a popular convenience feature for Websites. In this article, I will show you how to add Copy to Clipboard functionality to your Web Apps