/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-fire-f6a55afe27c9-fire-s0620-c0000.md

fire() - hono-docs

fire() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt fire Summary ::: warning app.fire() is dep...

fire()

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#fire

Summary

::: warning app.fire() is deprecated. Use fire() from hono/service-worker instead. See the Service Worker documentation for details. ::: app.fire() automatically adds a global fetch e...

Content

::: warning app.fire() is deprecated. Use fire() from hono/service-worker instead. See the Service Worker documentation for details. :::

app.fire() automatically adds a global fetch event listener.

This can be useful for environments that adhere to the Service Worker API, such as non-ES module Cloudflare Workers.

app.fire() executes the following for you:

addEventListener('fetch', (event: FetchEventLike): void => {
  event.respondWith(this.dispatch(...))
})
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-fire-f6a55afe27c9-fire-s0620-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.