release: promote develop → main (staging) #5

Merged
chrnx merged 164 commits from develop into main 2026-07-18 19:01:55 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2b646eaec6 - Show all commits

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';