ewokstomo.tasks.utils.wait_for_scan_state#
- ewokstomo.tasks.utils.wait_for_scan_state(scan, desired_state)[source]#
Wait until a scan reaches the desired state (or a higher one).
- Args:
scan: The scan object to monitor. desired_state (ScanState): The state we want to wait for.
- Returns:
The scan object in its final state.
- Parameters:
desired_state (
ScanState)