Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias default.BackgroundService.ServiceName
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ServiceName } = default.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"