def clear_watch_restrictions(event, watch_type)
      return unless event.node_event?

      if watch_type
        logger.debug { "re-allowing #{watch_type.inspect} watches on path #{event.path.inspect}" }
        
        # we recieved a watch event for this path, now we allow code to set new watchers
        @outstanding_watches[watch_type].delete(event.path)
      end
    end
def clear_watch_restrictions(event, watch_type)
      return unless event.node_event?

      if watch_type
        logger.debug { "re-allowing #{watch_type.inspect} watches on path #{event.path.inspect}" }
        
        # we recieved a watch event for this path, now we allow code to set new watchers
        @outstanding_watches[watch_type].delete(event.path)
      end
    end
happens inside the lock, clears the restriction on setting new watches
 for a given path/event type combination