Add mongo.Client.ConnectAndPing and mongo.ConnectAndPing

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: CRUD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently mongo.Client.Connect and mongo.Connect start up background goroutines and don't wait for the deployment to actually be discovered. Users should use the mongo.Client.Ping method to ensure the deployment is actually discovered and available. To allow users to do this with a single method or function, add the mongo.Client.ConnectAndPing method and mongo.ConnectAndPing function.

            Assignee:
            Unassigned
            Reporter:
            Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: