Skip to main content

end

Function end 

Source
pub(crate) fn end(
    state: &AppState,
    pane: &str,
    reason: &str,
    say_why: bool,
    how: How,
) -> bool
Expand description

End pane’s grant, if it has one, and take the header strip down; with say_why, the strip says why it ended instead (the person who ended it themselves needs no note). Returns whether there was one. how is for the action log: the agent’s own stop is Allowed, the person’s ByUser.