Sergey Naumenko

Results 3 issues of Sergey Naumenko

Introduce IAsyncEnumerable on DelayedQuery to utilize async Session query while asynchronously prefetching data. We need IAsyncEnumerable implementation here as if it is used inside a Prefetch, which is a fairly...

- Replaced `ConcurrentBag` with `ConcurrentQueue`. It's causing memory leaks if left undisposed somewhere. - `ClearRegistrations` is not necessary anymore. - Decreased allocations on `List.Insert(0,...)` and `.ToList()` calls

Recent .NET versions introduced a bunch of new methods on `Queryable`, which are not currently recognized by DO ### .NET 6: [MaxBy](https://learn.microsoft.com/en-us/dotnet/api/system.linq.queryable.maxby) [MinBy](https://learn.microsoft.com/en-us/dotnet/api/system.linq.queryable.minby) ### .NET 7 [Order](https://learn.microsoft.com/en-us/dotnet/api/system.linq.queryable.order) [OrderDescending](https://learn.microsoft.com/en-us/dotnet/api/system.linq.queryable.orderdescending) etc. It'd...