3 ms·
We've been using async/await (transpiled with babel) for last one year in our production API code. There really is not any need to use those async control flow
by MehdiHK 10y ago
We've been using async/await (transpiled with babel) for last one year in our production API code. There really is not any need to use those async control flow libraries anymore.
- cookiesboxcar 10y agoAgree, except we use TypeScript as the transpiler. Async/Await down to es5. Works like a dream.
- pault 10y agoI've found that this works fine until you have a bug in your async function that is, after transformation, a promise and a generator away from your original function with no call stack available for debugging. Edit: My experience is with babel's generator version of async/await, so other transformations may be easier to work with.