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

A common case is for typeahead completion. You have a requst to the sever in flight to get typeaheads but the user has entered more characters and triggered another request. Now you would like to ignore the old one. Since async calls are not guaranteed to arrive in the same order they were sent, it would be nice to cancel the old one instead of maintaining logic to ignore it.


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

Search: