Skip to content

getClientIdAsync

getClientIdAsync(): Promise<string>

Defined in: config/clientId.ts:90

The derived anonymous id, awaiting derivation when it has not run yet.

First caller triggers key generation; concurrent callers join the same in-flight derivation, so this is safe to call from anywhere without coordinating on setupClient.

Rejects when no provable id can be produced, so callers that genuinely require one get a diagnosable failure rather than a silently unprovable id.

Promise<string>