def METHOD_NAME():
    if time.time() - self.text.get_last_operation_time() < 0.3:
        # wait a bit more, there may be more keypresses or cursor location changes coming
        self.text.after(100, METHOD_NAME)
    else:
        try:
            self._request()
        finally:
            self._request_scheduled = False