onsumer</a>&lt;<a href="../SseEventSink.html" title="interface in jakarta.ws.rs.sse">SseEventSink</a>&gt;&nbsp;onClose)</code></th>
<td class="colLast">
<div class="block">Register a listener, which will be called when this SseBroadcaster closes a given event <a href="../SseEventSink.html" title="interface in jakarta.ws.rs.sse"><code>SseEventSink</code></a> or
 tries to write to a given <a href="../SseEventSink.html" title="interface in jakarta.ws.rs.sse"><code>SseEventSink</code></a> that is already closed