Skip to main content

stands

Function stands 

Source
async fn stands(
    db: &Database,
    check: impl AsyncFnOnce() -> Result<bool>,
) -> bool
Expand description

Whether the settlement stands, recording it when the check agrees.

The record claims only that agreement. A read-only open is left unchecked, and a failed record leaves the check to the next start.