puppeteer/new-docs/puppeteer.protocol.profiler.precisecoveragedeltaupdateevent.md
2020-07-13 14:01:35 +01:00

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.