| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library watcher.resubscribable; | 5 library watcher.resubscribable; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import '../watcher.dart'; | 9 import '../watcher.dart'; |
| 10 import 'watch_event.dart'; | 10 import 'watch_event.dart'; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 /// An interface for watchers with an explicit, manual [close] method. | 68 /// An interface for watchers with an explicit, manual [close] method. |
| 69 /// | 69 /// |
| 70 /// See [ResubscribableWatcher]. | 70 /// See [ResubscribableWatcher]. |
| 71 abstract class ManuallyClosedWatcher implements Watcher { | 71 abstract class ManuallyClosedWatcher implements Watcher { |
| 72 /// Closes the watcher. | 72 /// Closes the watcher. |
| 73 /// | 73 /// |
| 74 /// Subclasses should close their [events] stream and release any internal | 74 /// Subclasses should close their [events] stream and release any internal |
| 75 /// resources. | 75 /// resources. |
| 76 void close(); | 76 void close(); |
| 77 } | 77 } |
| OLD | NEW |