| Index: pkg/barback/lib/src/transformer/declaring_aggregate_transform.dart
|
| diff --git a/pkg/barback/lib/src/transformer/declaring_aggregate_transform.dart b/pkg/barback/lib/src/transformer/declaring_aggregate_transform.dart
|
| index 28f6909c6d5a82f49ecdf7a2559c811414e84659..5eada09b47a0a54ffc4d054b5d783cee6ec7a973 100644
|
| --- a/pkg/barback/lib/src/transformer/declaring_aggregate_transform.dart
|
| +++ b/pkg/barback/lib/src/transformer/declaring_aggregate_transform.dart
|
| @@ -86,14 +86,16 @@ class DeclaringAggregateTransformController extends BaseTransformController {
|
| /// The set of ids that the transformer declares it will emit.
|
| Set<AssetId> get outputIds => transform._outputIds;
|
|
|
| - /// The controller for the [DeclaringAggregateTransform.primaryIds] stream.
|
| - StreamController<AssetId> get idController => transform._idController;
|
| + bool get isDone => transform._idController.isClosed;
|
|
|
| DeclaringAggregateTransformController(TransformNode node)
|
| : super(new DeclaringAggregateTransform._(node));
|
|
|
| - void close() {
|
| - super.close();
|
| - idController.close();
|
| + /// Adds a primary input id to the [DeclaringAggregateTransform.primaryIds]
|
| + /// stream.
|
| + void addId(AssetId id) => transform._idController.add(id);
|
| +
|
| + void done() {
|
| + transform._idController.close();
|
| }
|
| }
|
|
|