소스 검색

Adding some comments to Timer.

Bart De Smet 8 년 전
부모
커밋
411f71d55c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      AsyncRx.NET/System.Reactive.Async/System/Reactive/Linq/Operators/Timer.cs

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

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