-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
Use Case
As a Node.js engineer
I want an internal API that grabs the initial or next batch for a cursor without combining that with getting the next document
So that I don't have to apply controls on how to go about fetching (blocking, transform etc)
User Impact
- None
Dependencies
- Potentially CSOT, the fetchBatch API breaks apart the synchronous step of shifting out a document and running a network operation.
Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Migrate floating next function to class method fetchBatch
- fetchBatch returns void, cursor APIs, operate on documents array and cursor id value before and after fetchBatch to determine when to call it
Testing Requirements
*
Documentation Requirements
- None
Follow Up Requirements
- None