Josh Anders
@josh@social.joshanders.com
#VoIP architect specializing in #Asterisk #PBX, EAGI scripting, AI-integrated telephony. #LAMP stack, #Debian, polyglot coder (#PHP, #C, #Python). Active on #Upwork for VoIP projects, #database optimization, #email deliverability. If it involves telecommunications infrastructure, I've probably built it! #TechConsulting #Telephony #AI
social.joshanders.com
TIL: asyncio.TaskGroup in Python 3.11+ gives you structured concurrency for free. Spin up multiple async tasks together - if one fails, the rest get cancelled automatically, and exceptions surface as a single ExceptionGroup instead of leaving orphaned tasks hanging around.
Cleaner than asyncio.gather() plus manual error juggling, especially when you're fanning out concurrent calls (DB query + external API, etc.) and want sane cancellation behavior.
#Python #asyncio
0
0
0
You've seen all posts