inventive title

News, samples, tips and tricks for Windows Mobile, SharePoint, ASP.NET and the Ajax Control Toolkit

January, 2010

  • inventive title

    Promises and Futures in JavaScript


    A Promise is a programming model that deals with deferred results in concurrent programming. The basic idea around promises are that rather than issuing a blocking call for a resource (IO, Network, etc.) you can immediately return a promise for a future value that will eventually be fulfilled. This allows you to write non-blocking logic that executes asynchronously without having to write a lot of synchronization and plumbing code...

Page 1 of 1 (1 items)