import { type PushManager } from "https://deno.land/x/windmill@v1.397.0/node_modules/evt/src/lib/types/lib.dom.ts";
This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
Methods
getSubscription(): Promise<PushSubscription | null>
permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>