Skip to main content

Function: buildMonitoringLockKey()

buildMonitoringLockKey(siteIdentifier: string, monitorId: string): OptimisticLockKey

Defined in: src/stores/sites/utils/optimisticMonitoringLock.ts:60

Builds a deterministic key for a monitor lock entry.

Parametersโ€‹

siteIdentifierโ€‹

string

Site identifier that owns the monitor.

monitorIdโ€‹

string

Unique monitor identifier within the site.

Returnsโ€‹

OptimisticLockKey

Stable string key for lock lookups.