-
tensorstore.Future[T].result(self, timeout: float | None =
None, deadline: float | None =None) T 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
timeoutordeadline.KeyboardInterrupt – If running on the main thread and a keyboard interrupt is received.