#include "tensorstore/util/future.h"
bool tensorstore::Future<T>::WaitFor(absl::Duration duration) const;

Waits for up to the specified duration for the result to be ready.

Dchecks:

!null()

Returns:

ready().