puppeteer/new-docs/puppeteer.protocol.backgroundservice.backgroundserviceevent.serviceworkerregistrationid.md

14 lines
718 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [BackgroundService](./puppeteer.protocol.backgroundservice.md) &gt; [BackgroundServiceEvent](./puppeteer.protocol.backgroundservice.backgroundserviceevent.md) &gt; [serviceWorkerRegistrationId](./puppeteer.protocol.backgroundservice.backgroundserviceevent.serviceworkerregistrationid.md)
## Protocol.BackgroundService.BackgroundServiceEvent.serviceWorkerRegistrationId property
The Service Worker ID that initiated the event.
<b>Signature:</b>
```typescript
serviceWorkerRegistrationId: ServiceWorker.RegistrationID;
```