Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Profiler.PreciseCoverageDeltaUpdateEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.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 immediatelly at a certain point in time.

Properties

timestamp: number

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

occassion: string

Identifier for distinguishing coverage events.

result: ScriptCoverage[]

Coverage data for the current isolate.