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

Maybe return the items it found so far and provide the cursor it failed on? Have a way to optionally provide the cursor? I can think of some ways I'd implement this in an SDK. Probably for simplicity I'd have some sort of JSON status field indicating the request (traversing all cursors) completed. If it's not complete I still would look for the next cursor it returned and do the usual thing manually.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: