public void add(String data, String type) {
        incoming().add(new Event(eventCount.incrementAndGet(), data, type));
    }
A stream of events which can be rendered as Server-Sent Events (SSE).

@author lesters
container-search/src/main/java/com/yahoo/search/result/EventStream.java