Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4320

promisify select server and refactor iterator mode change stream resume

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.11.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • Not Needed

      Use Case

      As a node developer 
      I want... (what is the desired change)
      So that... (why is the change desired)

      User Impact

      small to n/a

      Dependencies

      • We should determine a naming convention for promisified alternatives to callback based functions in the API prior to doing this ticket.  I put an agenda item on tech chat for 6/23

      Acceptance Criteria

      Create a promisified version of selectServer on the topology.

      Refactor the `_processErrorIteratorModeCallback` helper in change streams to be async, and use the async version of selectServer.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: