2 ms·
Are you sure promises have lost to async? This is a crazy statement.
by fiatjaf 11y ago
Are you sure promises have lost to async? This is a crazy statement.
- agumonkey 11y agoI have no data, but ES7 plans to support async/await, and Python 3.5 just shipped with it. I find it a strong signal already.
- aikah 11y ago> I have no data, but ES7 plans to support async/await, and Python 3.5 just shipped with it. I find it a strong signal already. we're mixing up 2 different things here, the async package and the C# like async/await feature native to javascript. The async package while popular is certainly not more popular than promises.
- lemevi 11y ago> I find it a strong signal already. Well cancel your signal because native browser APIs are returning promises: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia https://developer.mozilla.org/en-US/docs/Web/API/MediaDevice...
- agumonkey 11y agoConfusing mixed signals then.
- phpnode 11y agoasync/await is powered by promises, it's crazy to say that promises are going away, they're becoming an even more fundamental construct in the language.