/Knowledge/sources/honojs__hono/llms-full/context-storage-middleware--b44e400040ad.md
Context Storage Middleware - hono-docs
Context Storage Middleware Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt context storage middleware...
Context Storage Middleware
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#context-storage-middleware
Summary
The Context Storage Middleware stores the Hono Context in the AsyncLocalStorage, to make it globally accessible. ::: info Note This middleware uses AsyncLocalStorage. The runtime should support it. Cloudflare Workers: To en...
Content
The Context Storage Middleware stores the Hono Context in the AsyncLocalStorage, to make it globally accessible.
::: info
Note This middleware uses AsyncLocalStorage. The runtime should support it.
Cloudflare Workers: To enable AsyncLocalStorage, add the nodejs_compat or nodejs_als flag to your wrangler.toml file.
:::
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#context-storage-middleware",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Context Storage Middleware",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 244,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Context Storage Middleware",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}