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

Side by Side Diff: sdk/lib/_internal/pub_generated/asset/dart/utils.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
OLDNEW
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 /// Functions go in this file as opposed to lib/src/utils.dart if they need to 5 /// Functions go in this file as opposed to lib/src/utils.dart if they need to
6 /// be accessible to the transformer-loading isolate. 6 /// be accessible to the transformer-loading isolate.
7 library pub.asset.utils; 7 library pub.asset.utils;
8 8
9 import 'dart:async'; 9 import 'dart:async';
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 subscription = callback().listen(controller.add, 77 subscription = callback().listen(controller.add,
78 onError: controller.addError, 78 onError: controller.addError,
79 onDone: controller.close); 79 onDone: controller.close);
80 }, 80 },
81 onCancel: () => subscription.cancel(), 81 onCancel: () => subscription.cancel(),
82 onPause: () => subscription.pause(), 82 onPause: () => subscription.pause(),
83 onResume: () => subscription.resume(), 83 onResume: () => subscription.resume(),
84 sync: true); 84 sync: true);
85 return controller.stream; 85 return controller.stream;
86 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698