Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface Protocol.BackgroundService.BackgroundServiceEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { BackgroundServiceEvent } = Protocol.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.