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

That's not true. You could return (either the promise being used or a directly awaited value) and that value would be made available through await / promise as well.



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

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

Search: