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

Change Stream Resuming Broken for Promise-based call to .next

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0, 3.0.11
    • Affects Version/s: None
    • Component/s: Native
    • Labels:
      None

      Change Stream's Resume functionality is broken for non-callback based calls to .next. The callback for cursor.close needs to be wrapped in a promise if no callback is present.

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: