def METHOD_NAME(self, wait: Union[bool, float] = False) -> List[QMPMessage]:
    events = [dict(x) for x in self._aqmp.events.clear()]
    if events:
        return events
    event = self.pull_event(wait)
    return [event] if event is not None else []