Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias default.BackgroundService.ServiceName
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.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"
)