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