class IsomorphicExtendableEvent
implements Disposable
extends Event
import { IsomorphicExtendableEvent } from "https://deno.land/x/keywork@v6.2.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.
Methods
dispose()
flushTasks(this: IsomorphicExtendableEvent): Promise<void>
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.