Created
September 12, 2018 19:02
-
-
Save gate5th/4231831a50d6b037d6330ef3657bf5bc to your computer and use it in GitHub Desktop.
oldschoolshuffle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const promiseArrayOfTracksFromAlbum = shuffledAlbums.map(async (albumObject) => { | |
const response = await getSimpleAlbumTracks(albumObject.albumId, albumObject.albumName, albumObject.albumUri) | |
return response | |
}) | |
const tracksByAlbum = await Promise.all(promiseArrayOfTracksFromAlbum); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment