Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The PushEvent()
constructor creates a new PushEvent
object. Note that this constructor is exposed only to a service worker context.