Method Concurrent.Promise()->try_success()
- Method
try_success
local
this_program
try_success(ValueType
|zero
value
)- Description
Fulfill the Future if it hasn't been fulfilled or failed already.
- Parameter
value
Result of the Future.
Mark the Future as fulfilled if it hasn't already been fulfilled or failed, and in that case schedule the on_success() callbacks to be called as soon as possible.
- See also