ContentTracing

external interface ContentTracing(source)

Functions

Link copied to clipboard
abstract fun getCategories(): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>>

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

Link copied to clipboard
abstract fun getTraceBufferUsage(): ERROR CLASS: Symbol not found for Promise<electron/core/TraceBufferUsageReturnValue>

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

Link copied to clipboard
abstract fun startRecording(options: TraceCategoriesAndOptions): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.Void>
abstract fun startRecording(options: TraceConfig): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.Void>

resolved once all child processes have acknowledged the startRecording request.

Link copied to clipboard
abstract fun stopRecording(resultFilePath: String = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/String>

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