Skip to main content

settle_approval

Function settle_approval 

Source
pub(crate) fn settle_approval(
    asked: &Asked,
    block_id: &str,
    ask: &Value,
    answer: Answer,
    waiting: Waiting,
) -> Result<(Waiting, Instant), ClickRefused>
Expand description

What the person’s answer means for the click: Ok holds the pane locked (the returned [Waiting]) for the click to be made; Err says why there is none.