lib/vow.js
function(value, onFulfilled, onRejected, onProgress, ctx) {
        return vow.cast(value).then(onFulfilled, onRejected, onProgress, ctx);
    }
function(value, onFulfilled, onRejected, onProgress, ctx) {
        return vow.cast(value).then(onFulfilled, onRejected, onProgress, ctx);
    }
function ( value , onFulfilled , onRejected , onProgress , ctx ) { return vow . cast ( value ) . then ( onFulfilled , onRejected , onProgress , ctx ) ; }
Static equivalent to `promise.then`.
If `value` is not a promise, then `value` is treated as a fulfilled promise.

@param {*} value
@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}
Static equivalent to promise . then . If value is not a promise then value is treated as a fulfilled promise .