Introduce a ToAsyncQueryable method
- Dominant language
- C#
- Stars
- 7.2k
- Forks
- 798
- PR merge metrics
- No merged PRs in 30d
Description
I have [a situation](http://stackoverflow.com/questions/40560915) in which I must asynchronously execute an `IQueryable` in a standardized way, regardless of whether it's against a database or in-memory objects. So I need a `ToAsyncQueryable` method that operates on `IQueryable`. The building blocks for this feature -- `IAsyncQueryable`, `AsyncQueryable` generated extension methods, and `IAsyncQueryProvider` -- are already present in the `System.Interactive.Async.Providers` assembly.
The `AsyncQueryable` class's `AsAsyncQueryable` method operates on `IAsyncEnumerable`, which means I must first call `ToAsyncEnumerable` on my `IQueryable`. This defeats the purpose since, when executing against a database, the entire enumerable is read before I even have the chance to utilize the `IAsyncQueryable` result.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.