Skip to main content

set

Function set 

Source
pub(crate) fn set(
    state: &AppState,
    on: bool,
    by: Option<&str>,
) -> BrowserPauseAll
Expand description

Turn the switch on or off, as by (None: the person). Returns where it stands now. A change is kept in the file, held on every grant’s clock, shown on every driven pane’s header and Log (as by, never as the person when an agent did it), and sent to the windows’ status bars.