Backpressure
✓ RelevantUse `ReadableStream.pull()` with manual iteration instead of eager `for await (...)` to implement back-pressure and cancellation, preventing unbounded buffering and memory leaks when streaming AI responses.
Use `ReadableStream.pull()` with manual iteration instead of eager `for await (...)` to implement back-pressure and cancellation, preventing unbounded buffering and memory leaks when streaming AI responses.