docs(transport): reword stale implicit-streaming passages

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-10 16:06:02 -05:00
1 parent 535392baba
commit 2b646eaec6
2 files changed
+2 -2

No files matched your search

@@ -143,4 +143,4 @@ receive `undefined`. Boot fails loudly, so you never serve `undefined`.
- Everything a handler can inject: [Argument decorators](/guides/arguments/) and the
[decorator reference](/reference/decorators/).
- Coerce and validate injected values with Standard Schema: [Validation](/guides/validation/).
- Return an `AsyncIterable` to push data over time: [Streaming](/guides/streaming/).
- Declare `@Sse` and return an `AsyncIterable` to push data over time: [Streaming](/guides/streaming/).
+1 -1
View File
@@ -28,7 +28,7 @@ Streaming bypasses the response transformer — the transport frames each value
## Streaming — SSE
Return an `AsyncIterable` and the pipeline streams it (the transformer is bypassed; the transport frames it, handles backpressure, and cleans up on disconnect).
A route decorated `@Sse` streams — that's what triggers it, not the return value. It must return an `AsyncIterable`; the transport frames each value as an SSE event, handles backpressure, and cleans up on disconnect (the transformer is bypassed).
```typescript
import { Route, Sse } from '@green-tea/core';