puppeteer/new-docs/puppeteer.protocol.backgroundservice.backgroundserviceevent.md
2020-07-13 14:01:35 +01:00

1.9 KiB

Home > puppeteer > Protocol > BackgroundService > BackgroundServiceEvent

Protocol.BackgroundService.BackgroundServiceEvent interface

Signature:

export interface BackgroundServiceEvent 

Properties

Property Type Description
eventMetadata EventMetadata[] A list of event-specific information.
eventName string A description of the event.
instanceId string An identifier that groups related events together.
origin string The origin this event belongs to.
service ServiceName The Background Service this event belongs to.
serviceWorkerRegistrationId ServiceWorker.RegistrationID The Service Worker ID that initiated the event.
timestamp Network.TimeSinceEpoch Timestamp of the event (in seconds).