How to waitForQueue in python

In python, how do I wait for a queue to finish?

Can you describe your usecase? Generally you shouldn’t wait for a queue to finish as that breaks the parallelism of the platform.

@qiwei.li InvalidationQueue.waitForCompute() will wait for all queues to complete.
if you want to wait for a specific queue do BatchQueue.waitForCompute(). Please see the spec for more details.