mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(event_bus): wire catalog and events into package, rename builtin to events
This commit is contained in:
parent
731d5231ff
commit
be27df34e1
1 changed files with 5 additions and 0 deletions
|
|
@ -9,12 +9,17 @@ Domain-agnostic pub/sub. Producers ``await bus.publish(...)``; subscribers
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
from . import events # noqa: F401 — populates the event-type catalog
|
||||
from .bus import EventBus, Subscriber, bus
|
||||
from .catalog import EventCatalog, EventType, catalog
|
||||
from .event import Event
|
||||
|
||||
__all__ = [
|
||||
"Event",
|
||||
"EventBus",
|
||||
"EventCatalog",
|
||||
"EventType",
|
||||
"Subscriber",
|
||||
"bus",
|
||||
"catalog",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue