Files
sdk/tests/corelib/src
sigmund@google.com b66a9d9360 patch from issue 9360020
Adds three methods to Future to codify common patterns:

new Future<T>.immediate(T): a Future is desired, but the object is already
available
Future Future<T>.transform(Function): perform a sync computation once an async
computation is complete
Future Future<T>.chain(Function): perform an async computation once an async
computation is complete

Contributed by sammccall@google.com

BUG=dart:1516

Review URL: https://chromiumcodereview.appspot.com//9372008
Patch from Sam McCall <sammccall@google.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4056 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 01:09:06 +00:00
..
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2012-02-09 01:09:06 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-13 16:24:09 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-28 17:32:29 +00:00
2011-10-28 17:32:29 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00
2011-10-05 06:22:36 +00:00