Closed acsaga closed 12 years ago
I just figure out it's an intend behavior and you already had clarified it in #issue 15.
so I will close this issue, sorry!
Yes, it is "streaming" the response in chunks. Thanks for closing it. I am happy you are reading / understanding the code, though. Feel free to modify it if you want, just create an array that all the responses get merged into, then return it (as you noted) inside the else statement - this will allow you to receive everything all at once in a single callback. Understand there are caveats though, such as it being less safe.
find method will trigger the callback function multiple times if there are more than 500 records. I think it's a bug.
in find:
I think it should be:
how do you think about it?