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

theres the AbortController [1] that can be used on a few new promise based APIs such as the Fetch API [2]

[1] https://developer.mozilla.org/en-US/docs/Web/API/AbortContro...

[2] https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API




But there's no easy way to inject this AbortControl into existing libraries, or use it easily with async/await. I'm looking for an easier standard.




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

Search: