Skip to main content

announce

Function announce 

Source
pub async fn announce(
    state: &AppState,
    notice: Notice,
    alive: impl Fn() -> bool,
) -> Outcome
Expand description

Tell the person, then say whether the thing goes ahead. alive says whether the requester is still there (its pane exists and its agent runs), asked while the countdown runs.