Dasync.Collections.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);
}
}