Y
Hacker News
new
|
ask
|
show
|
jobs
by
embwbam
4886 days 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/
for how it could work in ES6.