changeStreams Node.js driver documentation miss the changeStream.on function

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following Node.js driver documentation: http://mongodb.github.io/node-mongodb-native/3.0/api/ChangeStream.html highlights methods like next and hasNext, but not the on function which is very useful as it will listen to any notification and will trigger a callback:

      changeStream.on(callback)

      I believe since this function is available in the driver it should be documented.

            Assignee:
            Unassigned
            Reporter:
            Pavel Duchovny
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: