pub(crate) fn stop(tag: &Tag, timeout_s: u64) -> Result<Status, String>Expand description
Stops a running tag and polls every 2 s, at least once, until it reaches FINISHED or ABORTED; returns the final status.
ยงErrors
When the stop or a status read fails, or the tag has not stopped after
timeout_s.