code: def registerHandler(self, matcher, handler):
          '''
          Register self to scheduler
          '''
          self.handlers[matcher] = handler
          self.scheduler.register((matcher,), self)
          self._setDaemon(f registerHandler(self, matcher, handler):
          '''
          Register self to scheduler
          '''
          self.handlers[matcher] = handler
          self.scheduler.register((matcher,), self)
          self._setDaemon()
docs: Register self to scheduler