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

Side by Side Diff: lib/src/stream_group.dart

Issue 1777453002: Modernize the package's style. (Closed) Base URL: git@github.com:dart-lang/async.git@master
Patch Set: Code review changes Created 4 years, 9 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/stream_completer.dart ('k') | lib/src/stream_queue.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 library async.stream_group;
6
7 import 'dart:async'; 5 import 'dart:async';
8 6
9 /// A collection of streams whose events are unified and sent through a central 7 /// A collection of streams whose events are unified and sent through a central
10 /// stream. 8 /// stream.
11 /// 9 ///
12 /// Both errors and data events are forwarded through [stream]. The streams in 10 /// Both errors and data events are forwarded through [stream]. The streams in
13 /// the group won't be listened to until [stream] has a listener. **Note that 11 /// the group won't be listened to until [stream] has a listener. **Note that
14 /// this means that events emitted by broadcast streams will be dropped until 12 /// this means that events emitted by broadcast streams will be dropped until
15 /// [stream] has a listener.** 13 /// [stream] has a listener.**
16 /// 14 ///
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 248
251 /// The name of the state. 249 /// The name of the state.
252 /// 250 ///
253 /// Used for debugging. 251 /// Used for debugging.
254 final String name; 252 final String name;
255 253
256 const _StreamGroupState(this.name); 254 const _StreamGroupState(this.name);
257 255
258 String toString() => name; 256 String toString() => name;
259 } 257 }
OLDNEW
« no previous file with comments | « lib/src/stream_completer.dart ('k') | lib/src/stream_queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698