Browse Source

Adding some comments to Timer.

Bart De Smet 8 years ago
parent
commit
411f71d55c

+ 4 - 0
AsyncRx.NET/System.Reactive.Async/System/Reactive/Linq/Operators/Timer.cs

@@ -128,6 +128,8 @@ namespace System.Reactive.Linq
             {
             {
                 ct.ThrowIfCancellationRequested();
                 ct.ThrowIfCancellationRequested();
 
 
+                // TODO: Compensate for drift by adding stopwatch functionality.
+
                 do
                 do
                 {
                 {
                     await observer.OnNextAsync(tick++).RendezVous(scheduler);
                     await observer.OnNextAsync(tick++).RendezVous(scheduler);
@@ -154,6 +156,8 @@ namespace System.Reactive.Linq
             {
             {
                 ct.ThrowIfCancellationRequested();
                 ct.ThrowIfCancellationRequested();
 
 
+                // TODO: Compensate for drift by adding stopwatch functionality.
+
                 do
                 do
                 {
                 {
                     await observer.OnNextAsync(tick++).RendezVous(scheduler);
                     await observer.OnNextAsync(tick++).RendezVous(scheduler);