Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/events/classes/IsomorphicExtendableEvent.ts>IsomorphicExtendableEvent

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
class IsomorphicExtendableEvent
implements Disposable
extends Event
import { IsomorphicExtendableEvent } from "https://deno.land/x/keywork@v6.0.1/events/classes/IsomorphicExtendableEvent.ts";

Extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle.

Properties

private
[kWaitUntil]: Promise<unknown>[]

Methods

Awaits all tasks remaining in the queue.

waitUntil(this: IsomorphicExtendableEvent, nonBlockingTask: Promise<any>): void

Extends the lifetime of the route handler, even after a Response is sent to a client.