Add try_next example to resuming change stream user guide

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 2.14.0.rc1
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      https://docs.mongodb.com/ruby-driver/master/tutorials/ruby-driver-change-streams/#resuming-a-change-stream just has next, there should also be a try_next example that allows the application to correctly advance resume token when there aren't documents being returned.

      Related SO inquiry: https://stackoverflow.com/questions/63323190/get-resume-token-with-mongodb-java-driver-before-first-document-received-in-chan/63328009#63328009

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: