I can't see how your manager better than regular promise API. AsyncManager.push/done can be replaced by Promise.all method, that accepts array of promises and combines theirs result into array. AFAIK in Javascript you can handle error in final "then" method call, intermediate promises passes error further if you don't handle it. If you are using async/await syntax you can surround larger piece of code with try/catch.
-- Sent from: http://apache-royale-development.20373.n8.nabble.com/
