Skip to main content
Module

x/workers_middleware/context.ts>ExtendableEvent

Placeholder for Worker-based middleware solution
Latest
interface ExtendableEvent
implements Event
import { type ExtendableEvent } from "https://deno.land/x/workers_middleware@v0.1.0-pre.36/context.ts";

Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (like FetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.

Methods

waitUntil(f: any): void