tensorstore.Future.result(self, timeout: float | None = None, deadline: float | None = None) object

Blocks until the asynchronous operation completes, and returns the result.

If the asynchronous operation completes unsuccessfully, raises the error that was produced.

Parameters:
timeout: float | None = None

Maximum number of seconds to block.

deadline: float | None = None

Deadline in seconds since the Unix epoch.

Returns:

The result of the asynchronous operation, if successful.

Raises: