lib/vow.js
function(onFulfilled, onRejected, onProgress, ctx) {
        this._shouldEmitUnhandledRejection = false;
        var defer = new Deferred();
        this._addCallbacks(defer, onFulfilled, onRejected, onProgress, ctx);
        return defer.promise();
    }
function(onFulfilled, onRejected, onProgress, ctx) {
        this._shouldEmitUnhandledRejection = false;
        var defer = new Deferred();
        this._addCallbacks(defer, onFulfilled, onRejected, onProgress, ctx);
        return defer.promise();
    }
function ( onFulfilled , onRejected , onProgress , ctx ) { this . _shouldEmitUnhandledRejection = false ; var defer = new Deferred ( ) ; this . _addCallbacks ( defer , onFulfilled , onRejected , onProgress , ctx ) ; return defer . promise ( ) ; }
Adds reactions to the promise.

@param {Function} [onFulfilled] Callback that will be invoked with a provided value after the promise has been fulfilled
@param {Function} [onRejected] Callback that will be invoked with a provided reason after the promise has been rejected
@param {Function} [onProgress] Callback that will be invoked with a provided value after the promise has been notified
@param {Object} [ctx] Context of the callbacks execution
@returns {vow:Promise} A new promise, see https://github.com/promises-aplus/promises-spec for details
Adds reactions to the promise .