How the script is running infinitely?
I am trying to understand the below code. How is it running infinitely? As per my understanding, once it reaches the while loop, it should never come out and should never print the messages received from the stream. But it is receiving the messages and printing them. import asyncio import ssl from nats.aio.client import Client […]
Encountering Recursion Depth error on gathering supposedly “cancelled” tasks
I have been trying to understand async programming in Python. Now I have this simple code which simulates a code I am working on.