Chromium Code Reviews| Index: pkg/async_helper/lib/async_helper.dart |
| diff --git a/pkg/async_helper/lib/async_helper.dart b/pkg/async_helper/lib/async_helper.dart |
| index 72a391f03a019a3c5785011d3ba5141ec03ca68d..84df557a811d6ce40f3643430a3477d7f420260a 100644 |
| --- a/pkg/async_helper/lib/async_helper.dart |
| +++ b/pkg/async_helper/lib/async_helper.dart |
| @@ -62,7 +62,7 @@ void asyncEnd() { |
| } |
| } |
| -void asyncTest(Future f()) { |
| +void asyncTest(f()) { |
|
kustermann
2013/09/03 13:53:03
You could add some documentation to the top of the
|
| asyncStart(); |
| f().whenComplete(() => asyncEnd()); |
| } |
|
ahe
2013/09/03 08:28:51
No newline at end of file. Stop production! DANGER
|