MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / get_bus

Function get_bus

uncommon_route/events.py:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def get_bus() -> EventBus:
56 global _bus
57 if _bus is None:
58 _bus = EventBus()
59 return _bus
60
61
62def reset_bus_for_tests() -> None:

Callers 4

handle_feedbackFunction · 0.90
handle_events_streamFunction · 0.90
_handle_chat_coreFunction · 0.90
_record_route_traceFunction · 0.90

Calls 1

EventBusClass · 0.85

Tested by

no test coverage detected