Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1663)

Unified Diff: sdk/lib/async/timer.dart

Issue 3011503002: Revert "Add ticks counter to Timer." (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/preambles/d8.js ('k') | tests/lib_2/async/periodic_timer2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/timer.dart
diff --git a/sdk/lib/async/timer.dart b/sdk/lib/async/timer.dart
index bf5540385b05ff63153e66ce5a4f051ddea5536a..97f68983e31bb2bdcfbfa9afe50cb647f5b18464 100644
--- a/sdk/lib/async/timer.dart
+++ b/sdk/lib/async/timer.dart
@@ -95,21 +95,6 @@ abstract class Timer {
*/
void cancel();
- /**
- * The number of durations preceeding the most recent timer event.
- *
- * The value starts at zero and is incremented each time a timer event
- * occurs, so each callback will see a larger value than the previous one.
- *
- * If a periodic timer with a non-zero duration is delayed too much,
- * so more than one tick should have happened,
- * all but the last tick in the past are considered "missed",
- * and no callback is invoked for them.
- * The [tick] count reflects the number of durations that have passed and
- * not the number of callback invocations that have happened.
- */
- int get tick;
-
/**
* Returns whether the timer is still active.
*
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/preambles/d8.js ('k') | tests/lib_2/async/periodic_timer2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698