java - SSE Emitter : Manage timeouts and complete() -
i writing web app multiple listeners(evcentsource sse clients js) connected server . want
- store sse emitter per connected listener : can done in memory or other means assigning id each client able achieve far
- now question ; how send response/event specific client connected web app ? while doing sseemmiters stored either getting completed or timed out. how prevent ? how keep sseemmiter available open infinite time (till client closes) , send events selectively .
Comments
Post a Comment