dwave.cloud.computation.Future.wait_id#
- Future.wait_id(timeout=None)[source]#
Blocking id getter.
Return the submitted problem ID, but unlike
id()
, block until the ID becomes known, or until timeout expires.- Parameters:
timeout (float, default=None) – Timeout in seconds. By default, wait indefinitely for problem id to become known/available.
- Returns:
Problem ID, as returned by SAPI.
- Return type:
- Raises:
concurrent.futures.TimeoutError – When timeout exceeded, and problem id not ready.