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

Best practice in my experience is to use a timeout on all async operations to handle edge cases 1 & 2 above. The third case isn't possible with JavaScript AFAIK.


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

Search: