AsyncEnumerable.Empty<TResult> Method

Definition

Returns an empty IAsyncEnumerable<T> that has the specified type argument.

C#
public static System.Collections.Generic.IAsyncEnumerable<TResult> Empty<TResult>();

Type Parameters

TResult

The type of the elements of the sequence.

Returns

IAsyncEnumerable<TResult>

An empty IAsyncEnumerable<T> whose type argument is TResult.

Applies to

Produkt Verzie
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided), 10
.NET Standard 2.0 (package-provided)