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); |