Common: Rename EventQueue -> PyPubSubEventQueue

This commit is contained in:
Shreya Malviya 2022-08-09 11:42:57 +05:30
parent ae2ba0e068
commit d346e63a26
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 EventQueue(IEventQueue): class PyPubSubEventQueue(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)