This commit is contained in:
j3d1 2024-04-26 00:31:34 +02:00
parent fbc21b5016
commit fe3c9be4ab

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