eventIterator()
Use the eventIterator() helper (re-exported from @orpc/contract) to define a typed async generator:
EventPublisher
For pub/sub patterns, use EventPublisher to broadcast events to multiple concurrent subscribers:
Event metadata
You can attach SSE-specific metadata (id, event, retry) to individual events using withEventMeta:
Stream utilities
@orpc/server re-exports several stream conversion utilities:
Streaming procedures are not supported inside batch requests. Call them directly.
