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
orexecuting_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 toidle
mode if the queue is empty orexecuting_queue
mode if the queue contains plans. See the documentation forwait_for_idle
API.