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

Quite a lot of my js functions don't await; instead I simply return the promise and let the caller `await` or more often attach a `then` as they see fit.

The default linter in Vs Code keeps marking those functions with warnings though. Says I should mark them as async



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

Search: