Skip to main content
Module

x/shed/middleware.ts>ExtendableEvent

All Worker Tools under a single roof
Latest
interface ExtendableEvent
implements Event
import { type ExtendableEvent } from "https://deno.land/x/shed@v0.1.0-pre.10/middleware.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