Method Concurrent.Promise()->try_failure()
- Method
try_failure
localthis_program(<ValueType>) try_failure(mixedvalue)- Description
Maybe reject the Future value.
- Parameter
value Failure result of the Future.
Mark the Future as failed if it hasn't already been fulfilled, and in that case schedule the on_failure() callbacks to be called as soon as possible.
- See also