IAsyncEnumerable<T>
Exposes an enumerator that provides asynchronous iteration over values of a specified type.
using System.Runtime.CompilerServices;
using System.Threading;
namespace System.Collections.Generic
{
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IAsyncEnumerable<[System.Runtime.CompilerServices.Nullable(2)] out T>
{
IAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken = default(CancellationToken));
}
}