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

Dasync.Collections.GenericEnumerableExtensions

public static class GenericEnumerableExtensions
Converts generic IEnumerable to IAsyncEnumerable
namespace Dasync.Collections { public static class GenericEnumerableExtensions { public static IAsyncEnumerable<T> ToAsyncEnumerable<T>(this IEnumerable<T> enumerable, bool runSynchronously = true); public static IAsyncEnumerator<T> GetAsyncEnumerator<T>(this IEnumerable<T> enumerable, bool runSynchronously = true); public static IAsyncEnumerator<T> ToAsyncEnumerator<T>(this IEnumerator<T> enumerator, bool runSynchronously = true); } }