Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2917

Add an internal tryNext method to AbstractCursor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Shell
    • None

      The mongosh team needs support for iterating tailable + awaitData cursors in a pseudo-sync environment. Our behavior of blocking for next batch on next/hasNext would leave them unable to return control back to the user in a REPL, so a tryNext method has been requested.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: