code: func (s *StateSyncer) Resume() bool {
  	s.pauseLock.Lock()
  	s.paused--
  	if s.paused < 0 {
  		panic("unbalanced pause/resume")
  	}
  	trigger := s.paused == 0
  	s.pauseLock.Unlock()
  	if trigger {
  		s.SyncChanges.Trigger()
  	}
  	return trigger
  }
docs: // Resume re-enables sync runs. It returns true if it was the last pause/resume
  // pair on the stack and so actually caused the state syncer to resume.