Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: