Chromium Code Reviews| Index: sdk/lib/async/zone.dart |
| diff --git a/sdk/lib/async/zone.dart b/sdk/lib/async/zone.dart |
| index 5f9fce92436f6543bbfc34eb9ebfa2eca0d58c34..b7e9680389e00485e0ee98a8ee781ff65721cb92 100644 |
| --- a/sdk/lib/async/zone.dart |
| +++ b/sdk/lib/async/zone.dart |
| @@ -453,6 +453,8 @@ class _ZoneTimer implements Timer { |
| _isDone = true; |
| _timer.cancel(); |
| } |
| + |
| + bool get isActive => !_isDone; |
| } |
| typedef void _PeriodicTimerCallback(Timer timer); |
| @@ -481,6 +483,8 @@ class _PeriodicZoneTimer implements Timer { |
| _isDone = true; |
| _timer.cancel(); |
| } |
| + |
| + bool get isActive => !_isDone; |
|
floitsch
2013/07/01 12:49:43
ditto.
zarah
2013/07/01 16:15:35
Done.
|
| } |
| /** |