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

Side by Side Diff: sdk/lib/async/stream_pipe.dart

Issue 11820024: Enable "part of" for the async library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/async/stream_impl.dart ('k') | sdk/lib/async/string_transform.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // part of dart.async; 5 part of dart.async;
6 6
7 /** 7 /**
8 * A pipe between two streams. 8 * A pipe between two streams.
9 * 9 *
10 * The default pipe subscribes to the [source] and sends on the 10 * The default pipe subscribes to the [source] and sends on the
11 * [stream]. 11 * [stream].
12 * 12 *
13 * The events are passed through the [_handleData], [_handleError] and 13 * The events are passed through the [_handleData], [_handleError] and
14 * [_handleDone] methods. Subclasses are supposed to add handling of some of 14 * [_handleDone] methods. Subclasses are supposed to add handling of some of
15 * the events by overriding these methods. 15 * the events by overriding these methods.
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 _signalError(new AsyncError(e, s)); 451 _signalError(new AsyncError(e, s));
452 return null; 452 return null;
453 } 453 }
454 if (!isEqual) { 454 if (!isEqual) {
455 _add(inputEvent); 455 _add(inputEvent);
456 _previous = inputEvent; 456 _previous = inputEvent;
457 } 457 }
458 } 458 }
459 } 459 }
460 } 460 }
OLDNEW
« no previous file with comments | « sdk/lib/async/stream_impl.dart ('k') | sdk/lib/async/string_transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698