I want to restrict the number of calls to be made to exec command. I checked Promise.map API which goes as below :
Promise.map( Iterable|Promis