The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Class Index | File Index

Classes


Class orion.Promise

Interface representing an eventual value.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/Deferred.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Promise is an interface that represents an eventual value returned from the single completion of an operation.
Method Summary
Method Attributes Method Name and Description
 
cancel(reason, strict)
Cancels this promise.
 
then(onResolve, onReject, onProgress)
Adds handlers to be called on fulfillment or progress of this promise.
Class Detail
orion.Promise()
Promise is an interface that represents an eventual value returned from the single completion of an operation.

For a concrete class that implements Promise and provides additional API, see orion.Deferred.

See:
orion.Deferred
orion.Deferred#promise
Method Detail
cancel(reason, strict)
Cancels this promise.
Parameters:
{Object} reason
The reason for canceling this promise.
{Boolean} strict Optional

{orion.Promise} then(onResolve, onReject, onProgress)
Adds handlers to be called on fulfillment or progress of this promise.
Parameters:
{Function} onResolve Optional
Called when this promise is resolved.
{Function} onReject Optional
Called when this promise is rejected.
{Function} onProgress Optional
May be called to report progress events on this promise.
Returns:
{orion.Promise} A new promise that is fulfilled when the given onResolve or onReject callback is finished. The callback's return value gives the fulfillment value of the returned promise.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:24 GMT-0400 (EDT)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.