Interface SseBroadcaster

All Superinterfaces:
AutoCloseable

public interface SseBroadcaster extends AutoCloseable
Server-Sent events broadcasting facility.

Server broadcaster can be used to manage multiple server sinks. It enables sending events to all registered event outputs and provides facility to effectively handle exceptions and closures of individual registered event outputs.

Instance of this interface is thread safe, meaning that it can be shared and its method invoked from different threads without causing inconsistent internal state.

Since:
2.1