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