A library that extends Linq's methods for IAsyncEnumerable<T>. It allows to work asynchronously. The library supports CancellationToken to be able to cancel processing.
$ dotnet add package AsyncLinqRVersion française juste en dessous
The AsyncLinqR library is an extension to LINQ for .NET that provides asynchronous versions of existing LINQ methods. These methods allow you to perform data query operations asynchronously.
Where, Select, First, FirstOrDefault etc.async and await.Task<T> and IAsyncEnumerable<T>.using AsyncLinqR;
var result = await myCollection.WhereAsync(async x => await PredicateAsync(x)).ToListAsync();
Map a collection asynchronously :
using AsyncLinqR;
var result = await myCollection.SelectAsync(async x => await SomeOperationAsync(x)).ToListAsync();
You can install the library via NuGet Package Manager or via the package management console:
Install-Package AsyncLinqR
Contributions
Contributions and feedback are welcome! You can submit an Issue or a Pull Request on the project page.
This project is licensed under the MIT license. For more information, please consult the LICENSE file.
La bibliothèque AsyncLinqR est une extension de LINQ pour .NET qui fournit des versions asynchrones des méthodes de LINQ existantes. Ces méthodes vous permettent d'effectuer des opérations de requête de données de manière asynchrone.
Where, Select, First, FirstOrDefault etc.async et await.Task<T> et IAsyncEnumerable<T>.using AsyncLinqR;
var result = await myCollection.WhereAsync(async x => await PredicateAsync(x)).ToListAsync();Mapper une collection de manière asynchrone :
using AsyncLinqR;
var result = await myCollection.SelectAsync(async x => await SomeOperationAsync(x)).ToListAsync();Vous pouvez installer la bibliothèque via NuGet Package Manager ou via la console de gestion de package :
Install-Package AsyncLinqRContributions
Les contributions, feedbacks, sont les bienvenues ! Vous pouvez soumettre une Issue ou une Pull Request sur la page du projet.
Ce projet est sous licence MIT. Pour plus d'informations, veuillez consulter le fichier LICENSE.