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

Having send 1 API query initiated from a user action, and you want to:

1) allow the user to cancel it explicitly

2) cancel it if the user selects something else (instead of firing a second query, and then having a race condition on which returns first)



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

Search: