function batchUIUpdates() {
    if (!debouncer) {
      debouncer = new bookmarks.Debouncer(
          () => bookmarks.Store.getInstance().endBatchUpdate());
    }

    if (debouncer.done()) {
      bookmarks.Store.getInstance().beginBatchUpdate();
      debouncer.reset();
    }

    debouncer.restartTimeout();
  }
/**
   * Batches UI updates so that no changes will be made to UI until the next
   * task after the last call to this method. This is useful for listeners which
   * can be called in a tight loop by UI actions.
   */
Batches UI updates so that no changes will be made to UI until the next
task after the last call to this method. This is useful for listeners which
can be called in a tight loop by UI actions.
Batches UI updates so that no changes will be made to UI until the next task after the last call to this method . This is useful for listeners which can be called in a tight loop by UI actions .
function batchUIUpdates() {
    if (!debouncer) {
      debouncer = new bookmarks.Debouncer(
          () => bookmarks.Store.getInstance().endBatchUpdate());
    }
    if (debouncer.done()) {
      bookmarks.Store.getInstance().beginBatchUpdate();
      debouncer.reset();
    }
    debouncer.restartTimeout();
  }
function batchUIUpdates ( ) { if ( ! debouncer ) { debouncer = new bookmarks . Debouncer ( ( ) => bookmarks . Store . getInstance ( ) . endBatchUpdate ( ) ) ; } if ( debouncer . done ( ) ) { bookmarks . Store . getInstance ( ) . beginBatchUpdate ( ) ; debouncer . reset ( ) ; } debouncer . restartTimeout ( ) ; }
Batches UI updates so that no changes will be made to UI until the next
 task after the last call to this method.
Batches UI updates so that no changes will be made to UI until the next task after the last call to this method .