Skip to main content

ask

Function ask 

Source
pub async fn ask(
    state: &AppState,
    block_id: &str,
    question: Question,
) -> Result<Answer, String>
Expand description

Ask question in pane block_id and wait for the person’s answer. Err when there is no window connected to ask in: whatever needed the answer must not happen, nor wait.