reject
Resolves a deferred with a failure value.
Signature
reject(reason)
('a: Deferred 'f 's).('f) => 'a :: mutates 'a
Documentation
Resolves a deferred with a failure value.
Properties
Source Code
Defined in source/concurrency/future/_deferred.js at line 58, column 21
reject(reason) {
moveToState(this, Rejected(reason));
return this;
}