Skip to main content

ask

Function ask 

Source
pub(super) async fn ask(
    state: &AppState,
    attention_block: &str,
    request: UseRequest,
    wait: Duration,
    headline: &str,
) -> (Ended, Option<UseAnswer>)
Expand description

Asks the person to allow request and waits at most wait: srv decides on silence then. The tone and badges that say it waits are the asking agent’s pane’s, where its card is, else attention_block’s. A use that went ahead with no answer is recorded as such at once; every other outcome is recorded by the caller, with what it did.