futr
Simple Future Variables in javascript.
Installation
$ npm install futr
Example
var Future = assert = ; var one = Future two = Future three = Future; // One has no value... assert;assert; one; assert; assert; // Futures will invoke a callback if one// is given to the #get method.var capture; var before = two; assert;assert; // now set the second future...var after = two; assert; // and check that the callback was invoked.assert; // Futures will report whether they have a value...assert;assert;assert;