mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.4 KiB
1.4 KiB
Home > puppeteer > Protocol > Profiler > PreciseCoverageDeltaUpdateEvent
Protocol.Profiler.PreciseCoverageDeltaUpdateEvent interface
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.
Signature:
export interface PreciseCoverageDeltaUpdateEvent
Properties
Property | Type | Description |
---|---|---|
occassion | string | Identifier for distinguishing coverage events. |
result | ScriptCoverage[] | Coverage data for the current isolate. |
timestamp | number | Monotonically increasing time (in seconds) when the coverage update was taken in the backend. |