Constructs a new ServerSentEventParseStream.
ReadonlyreadableThe readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
ReadonlywritableThe writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
A
TransformStreamthat parses raw SSE text streams into typedServerSentEventobjects.Normalizes CRLF and CR line breaks to LF, preserves comments, and triggers dispatches on blank line boundaries.
Example