Skip to content

ElectronContentTracing.getCategories method

ElectronContentTracing › getCategories

Unofficial

Get a set of category groups. The category groups can change as new code paths are reached. See also the list of built-in tracing categories.

Signature:

getCategories(): Promise<string[]>

Returns: Promise<string[]>A promise that resolves with an array of category groups once all child processes have acknowledged the getCategories request.