Skip to main content
Go to Latest
interface Protocol.BackgroundService.BackgroundServiceEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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.