DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
AI for Frontend Developers Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
AI for Frontend Developers
In a hand-rolled SSE parser reading from a fetch() ReadableStream, why is it necessary to buffer an incomplete trailing frame across multiple reader.read() calls?
A
It isn't necessary, every chunk always contains complete frames
B
A single logical SSE frame can be split across two network chunk boundaries, so the last (possibly incomplete) piece must be held over and combined with the next chunk
C
SSE requires exactly one frame per network packet by protocol
D
To reduce memory usage
Check Answer