-
Notifications
You must be signed in to change notification settings - Fork 134
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
Non-blocking query result #340
Comments
Hi,
If we wanted an async implementation to materialize the list of items to be shown on the screen, then EF Core must be used. EF Core includes an extension for If you have any idea about this, please let me know. |
I understand that the library should not be depent on EF Core or any other orm, and I agree with that. But it could be solved by an abstraction layer like an interface or something else. For instance of using an interface, it can be capable of running queries in sync and async manner, and someone else like me can implement this interface and register to DI to change behavior of querying like using EF core. |
GriBlazor 3.2.3 supports one of the following methods to get ItemsDTO object: |
I didn't expect it so fast, I appreciate that thanks. |
Hi,
As far as I saw in source code,
GridServer.ItemsToDisplay
calls blockingToList
method ofIQueryable
. This line blocking current thread:Grid.Blazor/GridCore/GridBase.cs
Line 112 in 189cdf6
Are there any plans to implement async version of
GridServer
to use non-blockingToListAsync
method? Or are there an other way to useToListAsync
instead?The text was updated successfully, but these errors were encountered: