Skip to main content

Function: generateCorrelationId()

generateCorrelationId(): string

Defined in: electron/utils/correlation.ts:81

Generate a unique correlation ID for tracking operations. Uses crypto.randomBytes for cryptographically secure random values.

Returns

string

A unique correlation ID string (16 hex characters)

Example

const correlationId = generateCorrelationId();
console.log(correlationId); // "a1b2c3d4e5f67890"