| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 barback.transformer.base_transform; | 5 library barback.transformer.base_transform; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import '../asset/asset_id.dart'; | 9 import '../asset/asset_id.dart'; |
| 10 import '../graph/transform_node.dart'; | 10 import '../graph/transform_node.dart'; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 /// | 106 /// |
| 107 /// This will close any streams and release any resources that were allocated | 107 /// This will close any streams and release any resources that were allocated |
| 108 /// for the duration of the transformation. Unlike [done], this indicates that | 108 /// for the duration of the transformation. Unlike [done], this indicates that |
| 109 /// the transformation is no longer relevant; either it has returned, or | 109 /// the transformation is no longer relevant; either it has returned, or |
| 110 /// something external has preemptively invalidated its results. | 110 /// something external has preemptively invalidated its results. |
| 111 void cancel() { | 111 void cancel() { |
| 112 done(); | 112 done(); |
| 113 transform._onLogController.close(); | 113 transform._onLogController.close(); |
| 114 } | 114 } |
| 115 } | 115 } |
| OLD | NEW |