code: function concludeEdits() {
                      editsQueued = false;
  
                      if (listDataAdapter.endEdits && beginEditsCalled && !editsInProgress) {
                          beginEditsCalled = false;
                          listDataAdapter.endEdits();
                      }
  
                      // See if there's a refresh that needs to begin
                      if (refreshRequested) {
                          refreshRequested = false;
                          beginRefresh();
                      } else {
                          // Otherwise, see if anything needs to be fetched
                          postFetch();
                      }
                  }
docs: Once the edit queue has emptied, update state appropriately and resume normal operation