title: How to async way call 10 functions and collect all results and know when all are finished?
body: <p>I am using deferred module for Node.js and I have created deferred functions which fetch data from distant server. I need to fetch 10 files from different distant server, how to do this with promise to know when all are finished and fetch all then results in array ?
  At the moment I have closure and I am fetching next file only when I have done with previous but it is sync and slow. </p>