dotnet-core/release-notes/3.0/api-diff/.Net/3.0.0_System.Collections.Generic.md
2019-10-10 13:57:00 -07:00

401 B

System.Collections.Generic

 namespace System.Collections.Generic {
+    public interface IAsyncEnumerable<out T> {
+        IAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken = default(CancellationToken));
+    }
+    public interface IAsyncEnumerator<out T> : IAsyncDisposable {
+        T Current { get; }
+        ValueTask<bool> MoveNextAsync();
+    }
 }