Monthly Archives: July 2012

More Promises in Javascript

The framework is evolving. I now have the following operations on a Promise: then( function(result, ongoingPromise) ) then( function(result, ongoingPromise), function(failureReason, furtherInfo) ) otherwise( function(failureReason, furtherInfo, ongoingPromise) ) thenAlways( function(success, resultOrFail, ongoingPromise) ) The resultOrFail argument is either a result … Continue reading

Posted in javascript | Leave a comment