namespace System.Threading.Tasks {
public class Task : IAsyncResult, IDisposable {
+ public bool Wait(TimeSpan timeout, CancellationToken cancellationToken);
}
public static class TaskAsyncEnumerableExtensions {
+ public static IEnumerable<T> ToBlockingEnumerable<T>(this IAsyncEnumerable<T> source, CancellationToken cancellationToken = default(CancellationToken));
}
}