Created
March 30, 2017 03:28
-
-
Save kaihendry/36651f7cc022c6717a43aff7e2750d8c to your computer and use it in GitHub Desktop.
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
return Promise.all( | |
videos.outputs | |
.map(video => ( | |
downloadImage(video).then((imagePath) => { | |
// Very CPU/MEMORY intensive stuff | |
return result | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment