Hacker News new | past | comments | ask | show | jobs | submit login

As far as I understand it, yes, as well as, insert an `await` right after, turning the enclosing function itself `async`, which means that anything that calls the enclosing function (the caller) would also need to have `async` and `await` inserted, and the process would keep going.

That is what I mean by viral: if a function low in the call chain is turned `async`, every function above it is too.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: