pub fn resolve<R: Resource>(
dispatcher: &Dispatcher<R>,
doc: &mut Doc,
) -> Result<Vec<Vec<R::Action>>, String>Expand description
Resolve what dispatcher (dispatcher) queued since the last call —
its actions, typed values and groups — onto doc as a host does after an
event, as confirmed: each invocation one step, attributed to the test
author. An action its resource refuses (its clip is gone) changes
nothing and is reported through Dispatcher::refused, as the host
reports it. Returns what each applied invocation applied, in order: one
entry per undo step (a group’s entry holds all of its actions).