-
tensorstore.Future[T].exception(self, timeout: SupportsFloat | None =
None, deadline: SupportsFloat | None =None) object Blocks until asynchronous operation completes, and returns the error if any.
- Parameters:¶
- timeout: SupportsFloat | None =
None¶ Maximum number of seconds to block.
- deadline: SupportsFloat | None =
None¶ Deadline in seconds since the Unix epoch.
- timeout: SupportsFloat | None =
- 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.