#include "tensorstore/util/future.h"
bool tensorstore::AnyFuture::WaitFor(absl::Duration duration) const;

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

Dchecks:

!null()

Returns:

ready().