-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Empty show more show less
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.