Method Concurrent.reject()
- Method reject
Future
reject(mixed
reason
)- Returns
A new Future that has already failed for the specified
reason
.- Note
The returned Future does NOT have a backend set.
- See also
Future.on_failure(), Promise.failure() https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise