-
#include "tensorstore/util/future.h"
- bool tensorstore::Promise<T>::result_needed() const noexcept;
Returns
true
if this future has not been cancelled.Once there are no remaining
Future
objects or ready callbacks associated with the shared state, the future will be cancelled.Note
Once this returns
false
for a given shared state, it will never returntrue
.