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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
    • Documentation Changes:
      Needed

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            eric.adum Eric Adum (Inactive)
            Reporter:
            matt.broadstone Matt Broadstone
            Implementer:
            Warren James Warren James (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: