Closed willzeng closed 7 years ago
Right now the .is_done() method on a jobresult doesn't query for an update. This means to see if a job is done you need to run:
.is_done()
while not res.is_done(): res.get() time.sleep(0.5)
It makes sense to me that an improvement would be to have is_done() query for status itself.
is_done()
while not res.is_done(): time.sleep(0.5)
working on it
commit on my fork of pyquil
closed by #87
Right now the
.is_done()
method on a jobresult doesn't query for an update. This means to see if a job is done you need to run:It makes sense to me that an improvement would be to have
is_done()
query for status itself.