#include "tensorstore/util/future.h"
template <typename U = T>
  
requires (!std::is_const_v<U>)
bool tensorstore::Promise<T>::SetReady() const noexcept;

Marks result as ready without modifying it.

The result may have previously been modified directly using the raw_result() accessor.

Requires:

T is not const.

Returns:

true if there were no prior calls to SetResult or SetReady.