Skip to main content

default_answer

Function default_answer 

pub const fn default_answer(kind: ActionKind, consequential: bool) -> Answer
Expand description

The answer an agent starts with for an action of kind, before anyone chose: reading and undoable changes are allowed, reaching outside the document asks first, and an action whose contract asks for confirmation (consequential: it deletes for good, publishes, crosses a security boundary) asks first whatever its kind.