-
-
Notifications
You must be signed in to change notification settings - Fork 35
Async Reading Support #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
C# Lang Proposal: https://github.com/dotnet/csharplang/blob/master/proposals/csharp-8.0/async-streams.md |
The default .net core 3.0 Mvc core ,don't support the none async method. When will MongoFramework support the async query ? |
Not entirely sure what you mean - it doesn't seem that there is an issue using MongoFramework in ASP.NET Core 3 MVC with MongoFramework being sync-only for reads. Controller actions etc still seem to support sync. Async reads in general for MongoFramework though, I'm really wanting to have the language proposal come through so I can use the If I don't wait for the If instead the I made MongoFramework to help me with my own ASP.Net project and I do want async reads, I just don't think the time is right yet till these building blocks ( |
Here is a good article of the state of affairs: https://stu.dev/iasyncenumerable-introduction/ Other places have implemented their own enumerator or enumerable interfaces etc and while I could, it would be better spending my time implementing the "real" version when it comes in C#8. |
Thank you for your patience ! |
Thinking a little more about this again, if I do attempt to land an async version without Because of the more complex expression logic due to the changes for indexing/querying, it will be interesting to see how easily I can still do it given the level of reflection. Maybe this might be a catalyst for #87 to come sooner (though that is still a mighty lot of effort to build). |
This would likely be easier to implement once #112 lands. |
Look into support for something like Entity Framework's
ToListAsync
and how hard that might be to implement in the current stack.The text was updated successfully, but these errors were encountered: