PreciseCoverageDeltaUpdateEvent

data class PreciseCoverageDeltaUpdateEvent(timestamp: Double, occassion: String, result: List<ScriptCoverage>) : Event

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.

Constructors

PreciseCoverageDeltaUpdateEvent
Link copied to clipboard
fun PreciseCoverageDeltaUpdateEvent(timestamp: Double, occassion: String, result: List<ScriptCoverage>)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

occassion
Link copied to clipboard
val occassion: String
Identifier for distinguishing coverage events.
result
Link copied to clipboard
val result: List<ScriptCoverage>
Coverage data for the current isolate.
timestamp
Link copied to clipboard
val timestamp: Double
Monotonically increasing time (in seconds) when the coverage update was taken in the backend.

Sources

jvm source
Link copied to clipboard