Skip to main content
Module

x/windmill/node_modules/evt/src/lib/types/lib.dom.ts>PushManager

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface PushManager
import { type PushManager } from "https://deno.land/x/windmill@v1.350.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>