Faster SSE Responses with Async Generators and Promise.race()
kept by eddie
The article shows how async generators combined with Promise.race let Express SSE handlers stream database query results as each finishes, improving perceived load time.