Commit 6645062c authored by Mick, Johanna's avatar Mick, Johanna 🌱
Browse files

Update messaging/queueing-consumer.py

parent 87f734c7
Pipeline #41078 passed with stages
in 45 seconds
......@@ -14,3 +14,7 @@ for since, msg in queue.listen():
# You can print the message, if you want.
# print(f"{ since }: { msg }")
print()
for since, msg in queue.listen(since=0):
print(msg)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment