resumeAfter property

Map<String, Object>? resumeAfter
getter/setter pair

Directs watch to attempt resuming notifications starting after the operation specified in the resume token.

Each change stream event document includes a resume token as the _id field. Pass the entire _id field of the change event document that represents the operation you want to resume after.

resumeAfter is mutually exclusive with startAfter and startAtOperationTime

Implementation

Map<String, Object>? resumeAfter;