code: func (rq *ResourceQuotaController) worker(queue workqueue.RateLimitingInterface) func() {
  	workFunc := func() bool {
  		key, quit := queue.Get()
  		if quit {
  			return true
  		}
  		defer queue.Done(key)
  		rq.workerLock.RLock()
  		defer rq.workerLock.RUnlock()
  		err := rq.syncHandler(key.(string))
  		if err == nil {
  			queue.Forget(key)
  			return false
  		}
  		utilruntime.HandleError(err)
  		queue.AddRateLimited(key)
  		return false
  	}
  
  	return func() {
  		for {
  			if quit := workFunc(); quit {
  				klog.Infof("resource quota controller worker shutting down")
  				return
  			}
  		}
  	}
  }
docs: // worker runs a worker thread that just dequeues items, processes them, and marks them done.