Common: Rename PypubsubEventQueue -> EventQueue and pypubsub_event_queue.py -> event_queue.py

This commit is contained in:
Shreya Malviya 2022-08-09 00:04:19 +05:30
parent 1a2a4d165a
commit 23d3f179a2
1 changed files with 1 additions and 1 deletions

View File

@ -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)