Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: lib/src/util/stream_queue.dart

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/util/stream_channel.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // TODO(nweiz): Get rid of this when https://codereview.chromium.org/1241723003/ 5 // TODO(nweiz): Get rid of this when https://codereview.chromium.org/1241723003/
6 // lands. 6 // lands.
7 library test.util.forkable_stream_queue;
8
9 import 'dart:async'; 7 import 'dart:async';
10 import 'dart:collection'; 8 import 'dart:collection';
11 9
12 import "package:async/async.dart" hide ForkableStream, StreamQueue; 10 import "package:async/async.dart" hide ForkableStream, StreamQueue;
13 11
14 import "forkable_stream.dart"; 12 import "forkable_stream.dart";
15 13
16 /// An asynchronous pull-based interface for accessing stream events. 14 /// An asynchronous pull-based interface for accessing stream events.
17 /// 15 ///
18 /// Wraps a stream and makes individual events available on request. 16 /// Wraps a stream and makes individual events available on request.
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 event.addTo(controller); 688 event.addTo(controller);
691 } 689 }
692 690
693 var fork = _streamQueue._sourceStream.fork(); 691 var fork = _streamQueue._sourceStream.fork();
694 controller.addStream(fork, cancelOnError: false) 692 controller.addStream(fork, cancelOnError: false)
695 .whenComplete(controller.close); 693 .whenComplete(controller.close);
696 _completer.setSourceStream(controller.stream); 694 _completer.setSourceStream(controller.stream);
697 } 695 }
698 } 696 }
699 } 697 }
OLDNEW
« no previous file with comments | « lib/src/util/stream_channel.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698