Interval.cs 967 B

1234567891011121314151617181920212223242526272829
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the Apache 2.0 License.
  3. // See the LICENSE file in the project root for more information.
  4. using System.Reactive.Concurrency;
  5. namespace System.Reactive.Linq
  6. {
  7. partial class AsyncObservable
  8. {
  9. public static IAsyncObservable<long> Interval(TimeSpan period)
  10. {
  11. if (period < TimeSpan.Zero)
  12. throw new ArgumentOutOfRangeException(nameof(period));
  13. throw new NotImplementedException();
  14. }
  15. public static IAsyncObservable<long> Interval(TimeSpan period, IAsyncScheduler scheduler)
  16. {
  17. if (period < TimeSpan.Zero)
  18. throw new ArgumentOutOfRangeException(nameof(period));
  19. if (scheduler == null)
  20. throw new ArgumentNullException(nameof(scheduler));
  21. throw new NotImplementedException();
  22. }
  23. }
  24. }