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.
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.