pub fn labels(effect: &str, running: bool) -> (String, String)
The cancel and do-it-now words of an agent close: “Keep running” or “Keep open”, and “Close now” (a close of a tab or a pane) or “Stop now” (a stop alone).