A small program starts a task that reads data from an asynchronous generator. Then the main coroutine cancels this task and prints the final event trace.
stdout.CancelledError is handled inside the consumer;finally block of the asynchronous generator runs.main.py.python main.py
The program prints several trace lines in a deterministic order. In your answer, provide this output in full, line by line, with no extra text.
python main.pyasyncio availableasyncio.run(...) event loop is used, with no third-party patches and no parallel tasks other than the one created in main()Click a line and write what it prints. Explanation is optional.