create fulfilled and rejected promises
$ component install nathan7/promize
$ npm install promize
Returns a promise resolved with the given value.
Alias for promize(value)
Returns a promise rejected with the given reason.
Returns a promise that will never resolve.
Equivalent to promize().then(onFulfilled, onRejected). Useful for starting a chain of .then()s with.
Alias for promize.then(onFulfilled, onRejected).
Equivalent to promize.rejected().then(onFulfilled, onRejected).
Equivalent to promize.never(), which is equivalent to promize.never().then().