bluesky_queueserver_api.zmq.REManagerAPI.wait_for_idle_or_running

REManagerAPI.wait_for_idle_or_running(*, timeout=600, monitor=None)

Wait for RE Manager to switch to idle or executing_queue state. The API may be useful when working with the queue in AUTOSTART mode. For example, if AUTOSTART mode is enabled and then the environment is opened, the manager is switched to idle mode if the queue is empty or executing_queue mode if the queue contains plans. See the documentation for wait_for_idle API.