OptionalonParseError?: (err: unknown, raw: string) => voidCallback invoked when a parse error occurs. The error is logged via the callback but the chunk is silently dropped. The stream continues processing subsequent chunks.
ReadonlyreadableThe readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
ReadonlywritableThe writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
A TransformStream that converts raw bytes/strings into SSEEvent objects. Pipe a fetch response body through this to get a stream of events.