This commit is contained in:
j3d1 2024-04-26 00:31:34 +02:00
parent fe93366bd2
commit 0e84994b62

View file

@ -13,6 +13,7 @@ class NotificationDispatcher:
async def run_forever(self):
# Infinite loop to continuously listen for messages
print("Listening for messages...")
while True:
# Blocking receive to get the message from the channel layer
message = await self.channel_layer.receive('general')