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

Don't allow change streams to be used as emitters and iterators concurrently

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

      We should throw some sort of error to the user if they attempt to use the change stream both as an event emitter, and iterate it using next/hasNext, etc.

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

              Created:
              Updated:
              Resolved: