onCommitted Readonly

onCommitted: BeEvent<(hasPendingTxns: boolean, time: number) => void> = ...

Event raised after a commit operation is performed. Initiated by a call to BriefcaseConnection.saveChanges, even if there were no changes to save. The event supplies the following information:

  • hasPendingTxns: true if the briefcase has local changes not yet pushed to the server.
  • time: the time at which changes were saved on the backend (obtained via Date.now()).

@see BriefcaseTxns.onCommit for the event raised before the operation.

Defined in

Last Updated: 16 April, 2024