Using Promise#all

Using Promise#all

This example demonstrates how to use the Promise#all method to resolve multiple async actions.