Django - Celery and Background Tasks
Given this code snippet, what will be printed when the message 'Hello everyone' is published to the
chat channel?
import redis
r = redis.Redis()
pubsub = r.pubsub()
pubsub.subscribe('chat')
for message in pubsub.listen():
if message['type'] == 'message':
print(f"Received: {message['data'].decode()}")
break