<PackageReference Include="AsyncEnumerator" Version="2.2.2" />

System.Collections.Generic.IEnumerableExtensions

public static class IEnumerableExtensions
Converts generic IEnumerable to IAsyncEnumerable
public static IAsyncEnumerator<T> GetAsyncEnumerator<T>(this IEnumerable<T> enumerable, bool runSynchronously = true)

Creates IAsyncEnumerator<T> adapter for the enumerator of IEnumerable<T>

public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(this IEnumerable<T> enumerable, bool runSynchronously = true)

Creates IAsyncEnumerable<T> adapter for IEnumerable<T>

public static IAsyncEnumerator<T> ToAsyncEnumerator<T>(this IEnumerator<T> enumerator, bool runSynchronously = true)

Creates IAsyncEnumerator<T> adapter for IEnumerator<T>