Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ExtendableEvent

import type { ExtendableEvent } from "https://raw.githubusercontent.com/worker-tools/shed/master/index.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.

interface ExtendableEvent extends Event {
waitUntil(f: any): void;
}

§Extends

§
Event
[src]

§Methods

§
waitUntil(f: any): void
[src]