def METHOD_NAME(self, event: EventTypes, **kwargs: object) -> None:
    if self._event_occurred.is_set():
        return
    try:
        if self._filter and not self._filter(event, **kwargs):
            return
    except Exception:
        breakpoint()
    self._event_result = (event, kwargs)
    self._event_occurred.set()