Skip to main content

settle

Function settle 

Source
pub(crate) fn settle(tag: &Tag, timeout_s: u64) -> Result<Status, String>
Expand description

Polls status a second apart, at least once, until the tag reports a state other than STATE_UNSPECIFIED, and returns that status.

§Errors

When a status read fails (with the tag’s own reason), or the tag is still unsettled after timeout_s.