Optimistic edit-session hooks that keep a SnapIndex in sync with
an edit workflow's lifecycle: apply upserts (or removes, for deletes)
the edited feature, rollback restores the pre-edit index entry, and
commit finalizes it. Pass the result as the optimistic option of
createEditSession / createEditSketchWorkflow.
Optimistic edit-session hooks that keep a SnapIndex in sync with an edit workflow's lifecycle:
applyupserts (or removes, for deletes) the edited feature,rollbackrestores the pre-edit index entry, andcommitfinalizes it. Pass the result as theoptimisticoption ofcreateEditSession/createEditSketchWorkflow.