When implementing push notifications using service worker, we can directly push the notifications to the endpoint. But in my website the notifications are fetched from an outside API. So Is there any way from my service worker to poll for notifications so that I can identify if a new notification is present?