SuperLinq.Async 4.0.0-preview.4

.NET 5.0 .NET Core 3.1
This is a prerelease version of SuperLinq.Async.
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package SuperLinq.Async -Version 4.0.0-preview.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package SuperLinq.Async --version 4.0.0-preview.4
<PackageReference Include="SuperLinq.Async" Version="4.0.0-preview.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SuperLinq.Async --version 4.0.0-preview.4
#r "nuget: SuperLinq.Async, 4.0.0-preview.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SuperLinq.Async as a Cake Addin
#addin nuget:?package=SuperLinq.Async&version=4.0.0-preview.4&prerelease

// Install SuperLinq.Async as a Cake Tool
#tool nuget:?package=SuperLinq.Async&version=4.0.0-preview.4&prerelease

SuperLinq.Async

Async LINQ to Objects is missing a few desirable features.

This project enhances Async LINQ to Objects with extra methods, in a manner which keeps to the spirit of LINQ.

SuperLinq.Async is available for download and installation as a NuGet package.

Usage

SuperLinq.Async can be used in one of two ways. The simplest is to just import the SuperLinq.Async namespace and all extension methods become instantly available for you to use on the types they extend (typically some instantiation of IAsyncEnumerable<T>).

Apart from extension methods, SuperLinq.Async also offers regular static method that generate (instead of operating on) sequences, like Unfold, Random, Sequence and others.

.NET Versions

Base library is supported on .NET Core 3.1 and .NET 5.0+.

Operators

AtLeast

Determines whether or not the number of elements in the sequence is greater than or equal to the given integer.

AtMost

Determines whether or not the number of elements in the sequence is lesser than or equal to the given integer.

CompareCount

Compares two sequences and returns an integer that indicates whether the first sequence has fewer, the same or more elements than the second sequence.

Consume

Completely consumes the given sequence. This method does not store any data during execution

CountBy

Applies a key-generating function to each element of a sequence and returns a sequence of unique keys and their number of occurrences in the original sequence.

This method has 2 overloads.

Exactly

Determines whether or not the number of elements in the sequence is equals to the given integer.

From

Returns a sequence containing the values resulting from invoking (in order) each function in the source sequence of functions.

This method has 4 overloads.

Insert

Inserts the elements of a sequence into another sequence at a specified index.

Random

Returns an infinite sequence of random integers using the standard .NET random number generator.

This method has 6 overloads.

SkipUntil

Skips items from the input sequence until the given predicate returns true when applied to the current source item; that item will be the last skipped

TakeUntil

Returns items from the input sequence until the given predicate returns true when applied to the current source item; that item will be the last returned

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.2.0 68 8/25/2022
4.1.0 57 8/12/2022
4.1.0-preview.2 51 7/25/2022
4.1.0-preview.1 57 7/21/2022
4.0.0 77 7/20/2022
4.0.0-preview.7 70 7/9/2022
4.0.0-preview.6 73 7/4/2022
4.0.0-preview.5 51 6/28/2022
4.0.0-preview.4 49 6/20/2022
4.0.0-preview.2.5 70 6/15/2022