Add IAsyncDisposable support to AsyncCursor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • Dotnet Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      AsyncCursor<TDocument> currently only implements IDisposable, which forces synchronous resource cleanup even in async contexts. This causes blocking network calls during cursor disposal, undermining the performance benefits of async enumeration patterns.

            Assignee:
            Adelin Mbida Owona
            Reporter:
            Adelin Mbida Owona
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: