-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Acceptance Criteria
Implementation Requirements
- Refactor Topology.connect to use async/await
- Handle parallelism issue with connect and server selection running at the same time
- Refactor Topology.selectServer to use async/await syntax
- Remove references to Topology.selectServerAsync
- Replace the ServerSelectionRequest.callback property with explicit resolve and reject properties
Testing Requirements
- Ensure existing tests continue to pass
- Ensure that any tests expecting Topology.selectServer to take a callback are updated
Documentation Requirements
- None
Follow Up Requirements
- None