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

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

Dchecks:

!null()

Returns:

ready().