A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wiki.commonjs.org/wiki/Promise_Manager below:

Promise Manager - CommonJS Spec Wiki

Promise Manager

Promise manager provides a convenience API for handling promises.

Prior Art Proposed API

A top-level 'promise' module should export the functions defined here:

http://waterken.sourceforge.net/web_send/

In addition, a promise module should export:

wait()
This will block the execution of the current function while waiting for the Promise to be fulfilled, *if* the implementation and this Promise support this operation. If supported, the function will return the result of the resolved Promise when it is fulfilled. If the Promise is resolved with an error, than this function will throw the provided error object. If the concurrency model of the implementation or the Promise object does not support blocking, the "wait" property should be a null or undefined. This API is not intended to imply that implementations that provide a "wait" function are superior.

http://groups.google.com/group/commonjs/browse_thread/thread/e93f73ef97e88439/9cdb490abb8edfa6 http://groups.google.com/group/commonjs/browse_thread/thread/86fd52c9be191c4b


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4