ServerJS/Promises

From MozillaWiki
< ServerJS
Revision as of 19:56, 2 June 2009 by Kriszyp (talk | contribs) (Created page with '= Promises = Promises provide a well-defined interface for interacting with an object that represents the result of an action that is performed asynchronously, and may or may no...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Promises

Promises provide a well-defined interface for interacting with an object that represents the result of an action that is performed asynchronously, and may or may not be finished at any point in time. By utilizing a standard interface, different components can return promises for asynchronous actions and consumers can utilize the promises in a predictable manner. Promises can also provide the fundamental entity to be leveraged for more syntactically convenient language-level extensions that assist with asynchronicity.

Prior Art

Proposed API

Related Discussions

http://groups.google.com/group/serverjs/browse_thread/thread/e93f73ef97e88439/9cdb490abb8edfa6