4 ms·
Imagine if the language handled async code for you. So you could call an async function and it "returned" a value. But it still uses the event loop. See http:/
by embwbam 14y ago
Imagine if the language handled async code for you. So you could call an async function and it "returned" a value. But it still uses the event loop.
See http://taskjs.org/ http://taskjs.org/ for how it could work in ES6.