Method Concurrent.Promise()->try_success()
- Method try_success
localthis_programtry_success(mixedvalue)- 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