I've just written a #Django async view returning a StreamingHttpResponse which streams the results of PostgreSQL LISTEN/NOTIFY messages as Server Sent Events. The future is now, using old tech. All thanks to Django 4.2 and psycopg 3 🫶
Finally migrating some old EventLoopFuture-based Vapor code to new async approach. Feels really good to unwrap those crazy nested EventLoopFuture blocks to clean meaningful async code. Good job @0xTim & co.
I wrote ✏️ 🎉 an article about Running Tasks Concurrently in Django Asynchronous Views :django: Buckle-up for our async-journey together! 🚗 #django#python#async