* 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).
564 B
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);
}
}