Skip to main content

ask

Function ask 

Source
pub fn ask(
    app: &AppHandle,
    what: Walk,
    scope: Option<&ScopeId>,
    if_rev: Option<u64>,
    dry_run: bool,
    origin: &Origin,
) -> Outcome
Expand description

An undo, a redo or a jump as an agent asks it (the history.undo, history.redo and history.jump commands): in request.scope, or where the keys go when it is None; refused unless the scope’s revision is still if_rev; with dry_run, checked and answered, nothing changed. It runs through its step like the keys.