MCPcopy Index your code
hub / github.com/angular/angular / onClose

Method onClose

packages/service-worker/worker/src/driver.ts:346–349  ·  view source on GitHub ↗
(event: NotificationEvent)

Source from the content-addressed store, hash-verified

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.

Callers 1

constructorMethod · 0.95

Calls 2

handleCloseMethod · 0.95
waitUntilMethod · 0.80

Tested by

no test coverage detected