-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
How are you using Mongo? What version of the server and driver are you using?
Server: v4.4
Driver: v5.3.0
What is the feature/improvement you would like?
Update ChangeStream.tryNext() return type to be consistent with ChangeStream.next().
The underlying AbstractCursor has the same return type for both.
What use case would this feature/improvement enable?
Avoiding having to cast when using ChangeStream.tryNext().