Skip to main content

run

Function run 

Source
fn run(
    project: RwSignal<Option<EditProject>>,
    history: StoredValue<Option<History>>,
    edit: impl FnOnce(&mut History),
)
Expand description

Run edit against the project’s persistent history, then sync the project signal to the result. history carries the undo/redo stacks across calls.