Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias Protocol.BackgroundService.ServiceName
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ServiceName } = Protocol.BackgroundService;

The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.

definition:
| "backgroundFetch"
| "backgroundSync"
| "pushMessaging"
| "notifications"
| "paymentHandler"
| "periodicBackgroundSync"