onCommitted Readonly

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

Event raised after a commit operation is performed. Initiated by a call to 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 onCommit for the event raised before the operation.

Defined in

Last Updated: 14 November, 2024