- The ServiceWorker interface of the ServiceWorker API provides a reference to a service worker." href="../../js/html/ServiceWorker.html">ServiceWorker</a></code></h3><div class="doc"><p>Returns a service worker whose state is <code>waiting</code>. This is initially set to <code>null</code>.</p></div></div></div><h3 class="section">Methods</h3><div class="fields"><div class="field "><a name="getNotifications"></a><h3 class="anchor"><code><a href="#getNotifications"><span class="identifier">getNotifications<