Sha256: 6c5d6d66f13bbb2025cc3e44acac55d300db2c71beb6ab0a9f0da6975fc63192
Contents?: true
Size: 468 Bytes
Versions: 4
Compression:
Stored size: 468 Bytes
Contents
import Promise from './promise'; /** This is a convenient alias for `RSVP.Promise.reject`. @method reject @static @for RSVP @param {Any} reason value that the returned promise will be rejected with. @param {String} label optional string for identifying the returned promise. Useful for tooling. @return {Promise} a promise rejected with the given `reason`. */ export default function reject(reason, label) { return Promise.reject(reason, label); }
Version data entries
4 entries across 4 versions & 2 rubygems