(event: NotificationEvent)
| 344 | } |
| 345 | |
| 346 | private onClose(event: NotificationEvent): void { |
| 347 | // Handle the close event and keep the SW alive until it's handled. |
| 348 | event.waitUntil(this.handleClose(event.notification, event.action)); |
| 349 | } |
| 350 | |
| 351 | private onPushSubscriptionChange(event: PushSubscriptionChangeEvent): void { |
| 352 | // Handle the pushsubscriptionchange event and keep the SW alive until it's handled. |
no test coverage detected