Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.BackgroundService.BackgroundServiceEvent
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { BackgroundServiceEvent } = default.BackgroundService;

Properties

Timestamp of the event (in seconds).

origin: string

The origin this event belongs to.

serviceWorkerRegistrationId: ServiceWorker.RegistrationID

The Service Worker ID that initiated the event.

service: ServiceName

The Background Service this event belongs to.

eventName: string

A description of the event.

instanceId: string

An identifier that groups related events together.

eventMetadata: EventMetadata[]

A list of event-specific information.