handleSubscription

suspend fun handleSubscription(session: ServerSSESession)

Handles a new SSE subscription: keeps the session open and forwards every broadcast event to it. Returns when the client disconnects (the surrounding ServerSSESession is then closed by Ktor).