Types

Link copied to clipboard
@Serializable
data class ConsoleProfileFinished(val id: String, val location: Location, val profile: Profile, val title: String? = null) : ProfilerEvent

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ConsoleProfileStarted(val id: String, val location: Location, val title: String? = null) : ProfilerEvent

Sent when new profile recording is started using console.profile() call.

Link copied to clipboard
@Serializable
data class PreciseCoverageDeltaUpdate(val timestamp: Double, val occasion: String, val result: List<ScriptCoverage>) : ProfilerEvent

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.