Yields all domain events in the event store.

def all_domain_events(self):
        """
        Yields all domain events in the event store.
        """
        for originator_id in self.record_manager.all_sequence_ids():
            for domain_event in self.get_domain_events(originator_id=originator_id, page_size=100):
                yield domain_event