Method Concurrent.Promise()->try_failure()
- Method
try_failure
local
this_program
try_failure(mixed
value
)- 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