\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.
| 322 | /// A return value of PENDING is only indicative, as the Future can complete |
| 323 | /// concurrently. A return value of FAILURE or SUCCESS is definitive, though. |
| 324 | FutureState state() const { |
| 325 | CheckValid(); |
| 326 | return impl_->state(); |
| 327 | } |
| 328 | |
| 329 | /// \brief Whether the Future is finished |
| 330 | /// |
no outgoing calls