Skip to main content

outcome_text

Function outcome_text 

Source
pub(crate) fn outcome_text(
    id: &str,
    kind: &str,
    question: &str,
    state: &State,
) -> String
Expand description

The text the agent is woken with: what became of question, and what to do next.

Whatever the page or the host wrote (the button’s words, the address, an error) is masked and quoted: the note carries AgentMux’s own marker, so a page must not be able to put words of its own in it.