dart-sdk/sdk
Lasse R.H. Nielsen ed0bc43158 Make chained futures point to their source instead of opposite.
This means that a chained future that nobody cares about will
not be kept alive by the source.
Any listeners added to the chained future is forwarded to the
source. If the chained source notices that the source has completed,
it copies the values and drops the link completely.

This should allow some unused futures to be GC'ed earlier than
otherwise.

R=floitsch@google.com

Review URL: https://codereview.chromium.org/1516783003.
2015-12-11 11:13:39 +01:00
..
bin Run x64 dart2js version by default. 2015-12-01 00:50:53 +01:00
lib Make chained futures point to their source instead of opposite. 2015-12-11 11:13:39 +01:00
api_readme.md fix links in readme 2015-08-20 13:17:34 -07:00