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

Cancellation can be implemented with another promise passed into cancelable function as an argument. This way it is easier to see that asynchronous function is cancellable. And Promise implementation would become simpler.


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

Search: