ContentTracing

external interface ContentTracing(source)

Functions

Link copied to clipboard

resolves with an array of category groups once all child processes have acknowledged the getCategories request

Link copied to clipboard

Resolves with an object containing the value and percentage of trace buffer maximum usage

Link copied to clipboard
abstract fun startRecording(options: TraceConfig): Promise<Void>

resolved once all child processes have acknowledged the startRecording request.

Link copied to clipboard
abstract fun stopRecording(resultFilePath: String = definedExternally): Promise<String>

resolves with a path to a file that contains the traced data once all child processes have acknowledged the stopRecording request