-
tensorstore.Future.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
None
if the operation completed successfully.- 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.