When closing an asyncio TCP stream in MicroPython and RPi Pico, which is the correct and recomended method ? :
1. await writer.aclose()
2. writer.close(); await writer.wait_closed()
ChatGPT say that method 1 si the one, but DeepSeek says 2...
So, I don't know what to believe...
1. await writer.aclose()
2. writer.close(); await writer.wait_closed()
ChatGPT say that method 1 si the one, but DeepSeek says 2...
Statistics: Posted by Marus780 — Thu Apr 24, 2025 7:49 pm