\brief Whether the Future is finished A false return value is only indicative, as the Future can complete concurrently. A true return value is definitive, though.
| 347 | /// A false return value is only indicative, as the Future can complete |
| 348 | /// concurrently. A true return value is definitive, though. |
| 349 | bool is_finished() const { |
| 350 | CheckValid(); |
| 351 | return IsFutureFinished(impl_->state()); |
| 352 | } |
| 353 | |
| 354 | /// \brief Wait for the Future to complete and return its Result |
| 355 | const Result<ValueType>& result() const& { |