Private
Public Access
cleaning cruft part 2
This commit is contained in:
+1
-4
@@ -41,10 +41,7 @@ class EventEmitter:
|
||||
"""Simple event emitter for decoupled communication between modules."""
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""
|
||||
Initializes the EventEmitter with an empty listener map.
|
||||
[C: src/mcp_client.py:_DDGParser.__init__, src/mcp_client.py:_TextExtractor.__init__]
|
||||
"""
|
||||
"""Initializes the EventEmitter with an empty listener map."""
|
||||
self._listeners: Dict[str, List[Callable[..., Any]]] = {}
|
||||
|
||||
def on(self, event_name: str, callback: Callable[..., Any]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user