/Knowledge/sources/honojs__hono/llms-full/aws-lambda-lambda-response-streaming--part-02--e9d2c144f114.md
AWS Lambda: Lambda response streaming (part 02) - hono-docs
AWS Lambda: Lambda response streaming (part 02) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt lambda...
AWS Lambda: Lambda response streaming (part 02)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#lambda-response-streaming
Summary
## Content
```ts
import { Hono } from 'hono'
import { streamHandle } from 'hono/aws-lambda'
import { streamText } from 'hono/streaming'
const app = new Hono()
app.get('/stream', async (c) => {
return streamText(c, async (stream) => {
for (let i = 0; i < 3; i++) {
await stream.writeln(`${i}`)
await stream.sleep(1)
}
})
})
export const handler = streamHandle(app)
Metadata
{
"chunk_index": 1,
"citation": "https://hono.dev/llms-full.txt#lambda-response-streaming",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / AWS Lambda > Lambda response streaming (2)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 428,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "AWS Lambda: Lambda response streaming (part 02)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}