-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
I am looking at version v7.0. Please check also past and future versions.
Inaccuracy 1: resumeAfter: <int>
'resumeAfter' expects a resume token, so the type should be <document> similar to 'startAfter'.
Inaccuracy 2: resumeAfter and startAfter have the same description; the difference between the two options is unclear.
mongosh db.collection.watch() documentation does a bit better job:
Namely, 'resumeAfter' will fail while using the resume token of the 'invalidate' event, whilst 'startAfter' succeed.