start After
Similar to resumeAfter
, this option takes a resume token and starts a new change stream returning the first notification after the token.
This will allow users to watch collections that have been dropped and recreated or newly renamed collections without missing any notifications.
Note: The server will report an error if both startAfter
and resumeAfter
are specified.
Return
this
Parameters
start After
the startAfter resumeToken