/Knowledge/sources/honojs__hono/llms-full/timeout-middleware-notes--65b8052902ae.md
Timeout Middleware: Notes - hono-docs
Timeout Middleware: Notes Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt notes Summary The duration f...
Timeout Middleware: Notes
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#notes
Summary
- The duration for the timeout can be specified in milliseconds. The middleware will automatically reject the promise and potentially throw an error if the specified duration is exceeded. - The timeout middleware cannot be used with stre...
Content
-
The duration for the timeout can be specified in milliseconds. The middleware will automatically reject the promise and potentially throw an error if the specified duration is exceeded.
-
The timeout middleware cannot be used with stream Thus, use
stream.closeandsetTimeouttogether.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#notes",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Timeout Middleware > Notes (1)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 350,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Timeout Middleware: Notes",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}