-
tensorstore.Future[T].exception(self, timeout: float | None =
None, deadline: float | None =None) object Blocks until asynchronous operation completes, and returns the error if any.
- Parameters:¶
- Returns:¶
The error that was produced by the asynchronous operation, or
Noneif the operation completed successfully.- 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.