docs: remove non-existent sendEventStream from createEventStream example#1450
Conversation
The createEventStream JSDoc example imported sendEventStream, which h3 does not export. Copying the snippet gives an unresolved import.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughSSE examples in the response documentation and event-stream utility JSDoc now import only ChangesSSE example import cleanup
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The
createEventStreamexample importssendEventStream:But h3 does not export
sendEventStream, and the example never uses it — it only callscreateEventStreamandeventStream.push(...). Copying the snippet gives an unresolved import.Dropped the stray name from the JSDoc example in
src/utils/event-stream.tsand regenerated the mirrored docs withautomd, sodocs/2.utils/2.response.mdmatches.Checked:
pnpm buildandpnpm exec vitest --runboth pass.Summary by CodeRabbit