new epiviz.deferred.Promise(promise)
deferred/promise.js, line 15
Wrapper around JQuery Promise
.Wrapper around JQuery Promise
Name | Type | Description |
---|---|---|
promise |
Promise |
Methods
-
always(alwaysCallbacks, moreAlwaysCallbacks){epiviz.deferred.Deferred.<T>}
deferred/promise.js, line 56 -
Name Type Description alwaysCallbacks
function | Array.<function()> moreAlwaysCallbacks
function | Array.<function()> optional Returns:
Type Description epiviz.deferred.Deferred.<T> -
done(doneCallbacks, moreDoneCallbacks){epiviz.deferred.Deferred.<T>}
deferred/promise.js, line 38 -
Name Type Description doneCallbacks
function | Array.<function(T)> moreDoneCallbacks
function | Array.<function(T)> optional Returns:
Type Description epiviz.deferred.Deferred.<T> -
fail(failCallbacks, moreFailCallbacks){epiviz.deferred.Deferred.<T>}
deferred/promise.js, line 47 -
Name Type Description failCallbacks
function | Array.<function()> moreFailCallbacks
function | Array.<function()> optional Returns:
Type Description epiviz.deferred.Deferred.<T> -
state(){string}
deferred/promise.js, line 63 -
Returns:
Type Description string -
then(doneFilter, failFilter, progressFilter){epiviz.deferred.Promise.<T>}
deferred/promise.js, line 29 -
Name Type Description doneFilter
function failFilter
function optional progressFilter
function optional Returns:
Type Description epiviz.deferred.Promise.<T>