def METHOD_NAME(self, callback=None):
    def event(_wd, mask, name):
        if callback:
            callback()
        if mask & IN_IGNORED:
            self.setup()
    self.inotify.METHOD_NAME(event)