Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface Protocol.Profiler.PreciseCoverageDeltaUpdateEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { PreciseCoverageDeltaUpdateEvent } = Protocol.Profiler;

Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time.

Properties

timestamp: number

Monotonically increasing time (in seconds) when the coverage update was taken in the backend.

occasion: string

Identifier for distinguishing coverage events.

result: ScriptCoverage[]

Coverage data for the current isolate.