\brief Return the Future's current state A return value of PENDING is only indicative, as the Future can complete concurrently. A return value of FAILURE or SUCCESS is definitive, though.
| 338 | /// A return value of PENDING is only indicative, as the Future can complete |
| 339 | /// concurrently. A return value of FAILURE or SUCCESS is definitive, though. |
| 340 | FutureState state() const { |
| 341 | CheckValid(); |
| 342 | return impl_->state(); |
| 343 | } |
| 344 | |
| 345 | /// \brief Whether the Future is finished |
| 346 | /// |
no outgoing calls