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 barback.graph.asset_cascade; | 5 library barback.graph.asset_cascade; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import '../asset/asset.dart'; | 9 import '../asset/asset.dart'; |
10 import '../asset/asset_id.dart'; | 10 import '../asset/asset_id.dart'; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 _streams.onLogPool.add(phase.onLog); | 219 _streams.onLogPool.add(phase.onLog); |
220 if (_phaseStatusSubscription != null) _phaseStatusSubscription.cancel(); | 220 if (_phaseStatusSubscription != null) _phaseStatusSubscription.cancel(); |
221 _phaseStatusSubscription = | 221 _phaseStatusSubscription = |
222 phase.onStatusChange.listen(_streams.changeStatus); | 222 phase.onStatusChange.listen(_streams.changeStatus); |
223 | 223 |
224 _phases.add(phase); | 224 _phases.add(phase); |
225 } | 225 } |
226 | 226 |
227 String toString() => "cascade for $package"; | 227 String toString() => "cascade for $package"; |
228 } | 228 } |
OLD | NEW |