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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pavel.duchovny@mongodb.com Pavel Duchovny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: