Island: Add docstring to PyPubSubIslandEventQueue

This commit is contained in:
Mike Salvatore 2022-09-29 11:50:43 -04:00
parent 17017d6962
commit 67c78abee1
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ logger = logging.getLogger(__name__)
class PyPubSubIslandEventQueue(IIslandEventQueue): class PyPubSubIslandEventQueue(IIslandEventQueue):
"""
Implements IIslandEventQueue using pypubsub
"""
def __init__(self, pypubsub_publisher: Publisher): def __init__(self, pypubsub_publisher: Publisher):
self._pypubsub_publisher_wrapper = PyPubSubPublisherWrapper(pypubsub_publisher) self._pypubsub_publisher_wrapper = PyPubSubPublisherWrapper(pypubsub_publisher)