getParentSessionId#
Fully qualified name: carb::launcher::getParentSessionId
Defined in carb/launcher/LauncherUtils.h
- inline omni::structuredlog::SessionId carb::launcher::getParentSessionId(
Helper function to retrieve this process’ parent session ID if available.
- Returns:
The session ID of this process’ parent process if available. This value is retrieved from the
/telemetry/parentSessionIdsetting. This setting is expected to be present as a string value when provided. This must be provided by the parent process when this process is launched. If the parent process’ session ID cannot be parsed or is not available, 0 will be returned instead.