refactor(event_bus): wire catalog and events into package, rename builtin to events

This commit is contained in:
CREDO23 2026-05-29 22:15:18 +02:00
parent 731d5231ff
commit be27df34e1

View file

@ -9,12 +9,17 @@ Domain-agnostic pub/sub. Producers ``await bus.publish(...)``; subscribers
from __future__ import annotations from __future__ import annotations
from . import events # noqa: F401 — populates the event-type catalog
from .bus import EventBus, Subscriber, bus from .bus import EventBus, Subscriber, bus
from .catalog import EventCatalog, EventType, catalog
from .event import Event from .event import Event
__all__ = [ __all__ = [
"Event", "Event",
"EventBus", "EventBus",
"EventCatalog",
"EventType",
"Subscriber", "Subscriber",
"bus", "bus",
"catalog",
] ]