Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/keywork/events/mod.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/mod.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.