| 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.declaring_aggregate_transformer; | 5 library barback.transformer.declaring_aggregate_transformer; |
| 6 | 6 |
| 7 import 'declaring_aggregate_transform.dart'; | 7 import 'declaring_aggregate_transform.dart'; |
| 8 | 8 |
| 9 /// An interface for [Transformer]s that can cheaply figure out which assets | 9 /// An interface for [Transformer]s that can cheaply figure out which assets |
| 10 /// they'll emit without doing the work of actually creating those assets. | 10 /// they'll emit without doing the work of actually creating those assets. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 /// | 22 /// |
| 23 /// If this does asynchronous work, it should return a [Future] that completes | 23 /// If this does asynchronous work, it should return a [Future] that completes |
| 24 /// once it's finished. | 24 /// once it's finished. |
| 25 /// | 25 /// |
| 26 /// This may complete before [DeclaringAggregateTransform.primaryIds] stream | 26 /// This may complete before [DeclaringAggregateTransform.primaryIds] stream |
| 27 /// is closed. For example, it may know that each key will only have two | 27 /// is closed. For example, it may know that each key will only have two |
| 28 /// inputs associated with it, and so use `transform.primaryIds.take(2)` to | 28 /// inputs associated with it, and so use `transform.primaryIds.take(2)` to |
| 29 /// access only those inputs' ids. | 29 /// access only those inputs' ids. |
| 30 declareOutputs(DeclaringAggregateTransform transform); | 30 declareOutputs(DeclaringAggregateTransform transform); |
| 31 } | 31 } |
| OLD | NEW |