Common: Rename PypubsubEventQueue -> EventQueue and pypubsub_event_queue.py -> event_queue.py
This commit is contained in:
parent
1a2a4d165a
commit
23d3f179a2
|
@ -7,7 +7,7 @@ from common.events import AbstractEvent
|
||||||
from .i_event_queue import IEventQueue
|
from .i_event_queue import IEventQueue
|
||||||
|
|
||||||
|
|
||||||
class PypubsubEventQueue(IEventQueue):
|
class EventQueue(IEventQueue):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def subscribe_all(subscriber: Callable[..., Any]):
|
def subscribe_all(subscriber: Callable[..., Any]):
|
||||||
pub.subscribe(listener=subscriber, topicName=pub.ALL_TOPICS)
|
pub.subscribe(listener=subscriber, topicName=pub.ALL_TOPICS)
|
Loading…
Reference in New Issue