A promise implementation that resolves lazily, i.e.
when .then()
or .catch()
are executed.
Uses either bluebird
or the native Promise
implementation.
Same as Promise( resolve, reject => )
.
Same as Promise.resolve(val)
.
Same as Promise.reject(err)
.