Package com.axelor.ai.chat.stream
Class SseLoopEventSink
java.lang.Object
com.axelor.ai.chat.stream.SseLoopEventSink
- All Implemented Interfaces:
LoopEventSink
SSE implementation of
LoopEventSink. Translates LoopEvents into SSE stream events
written to a StreamWriter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriter()Returns the underlying writer for direct access (notifications, done signal).
-
Constructor Details
-
SseLoopEventSink
-
-
Method Details
-
writer
Returns the underlying writer for direct access (notifications, done signal). -
emit
- Specified by:
emitin interfaceLoopEventSink
-