IBMCircuitJob.wait_for_final_state#
- IBMCircuitJob.wait_for_final_state(timeout=None)[source]#
- Use the websocket server to wait for the final the state of a job. The server
will remain open if the job is still running and the connection will be terminated once the job completes. Then update and return the status of the job.
- Parameters:
timeout (
Optional
[float
]) – Seconds to wait for the job. IfNone
, wait indefinitely.- Raises:
IBMJobTimeoutError – If the job does not complete within given timeout.
- Return type:
None