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

Unified Diff: lib/runner.dart

Issue 955053002: adding codereview file, formatting, adding gitignore (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: lib/runner.dart
diff --git a/lib/runner.dart b/lib/runner.dart
index cd26d5af981f3761562db0ac9ef63f118ab02911..5e42bc741d41ed5729dfc0af2628d74d6a1eedaf 100644
--- a/lib/runner.dart
+++ b/lib/runner.dart
@@ -42,7 +42,7 @@ class Runner {
* The default implementation runs the function in the current isolate.
*/
Future run(function(argument), Object argument,
- {Duration timeout, onTimeout()}) {
+ {Duration timeout, onTimeout()}) {
Lasse Reichstein Nielsen 2015/02/26 10:59:15 Indent as original.
Future result = new Future.sync(() => function(argument));
if (timeout != null) {
result = result.timeout(timeout, onTimeout: onTimeout);

Powered by Google App Engine
This is Rietveld 408576698