-
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:¶
- Returns:¶
The result of the asynchronous operation, if successful.
- Raises:¶
TimeoutError – If the result did not become ready within the specified
timeout
ordeadline
.KeyboardInterrupt – If running on the main thread and a keyboard interrupt is received.