Uber Interview Question

Write a function similar to Promise.all in javascript but it should only run N processes at a time.