[API Proposal]: Add Async Methods to IDataReader #81876
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Threading.Tasks
needs-further-triage
Issue has been initially triaged, but needs deeper consideration or reconsideration
Milestone
Background and motivation
I'm writing a code that exposes an NpgsqlDataReader. I would like to use async methods of DataReader and also be able to test my code by mocking DataReader, so i prefer to expose an IDataReader that can be mocked but if i do this i can't use async methods. Of course there is workaround like writing wrapper and ... but it would be great if the interface contains async methods.
API Proposal
API Usage
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: