abort Method @beta

Aborts the in-progress pull/merge, restoring the briefcase to the state it was in before the pull began, including its parent changeset and local transactions. Any unsaved changes are discarded first.

isAborting is true while the restore is running.

abort(): Promise<void>

@returns A promise that resolves when the restore operation is complete.

@throws Error if the pull/merge cannot be aborted (see canAbort).

Returns - Promise

A promise that resolves when the restore operation is complete.

Defined in

Last Updated: 05 November, 2026