dotnet-core/release-notes/3.0/preview/api-diff/preview2/3.0-preview2_System.Threading.Tasks.md
Ahson Khan c8cb26c4ee
Add API diff between .NET Core 3.0 preview1 and preview2. (#2255)
* Add API diff between .NET Core 3.0 preview1 and preview2.

* Generate the API diff using API reviewer to follow the consistent
formatting.

* Only diff ref assemblies that are in-box (M.Netcore.App).
2019-01-28 21:03:59 -08:00

564 B

System.Threading.Tasks

 namespace System.Threading.Tasks {
     public static class TaskExtensions {
-        public static ConfiguredAsyncEnumerable<T> ConfigureAwait<T>(this IAsyncEnumerable<T> source, bool continueOnCapturedContext);

+        public static ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T>(this IAsyncEnumerable<T> source, bool continueOnCapturedContext);
+        public static ConfiguredCancelableAsyncEnumerable<T> WithCancellation<T>(this IAsyncEnumerable<T> source, CancellationToken cancellationToken);
     }
 }