MCPcopy Index your code
hub / github.com/simstudioai/sim / cascadeLockKey

Function cascadeLockKey

apps/sim/lib/table/cascade-lock.ts:15–17  ·  view source on GitHub ↗
(tableId: string, rowId: string)

Source from the content-addressed store, hash-verified

13 * ownership of a row's full workflow-group cascade — only the owner advances
14 * the row through its eligible groups. */
15export function cascadeLockKey(tableId: string, rowId: string): string {
16 return `table:cascade:${tableId}:${rowId}`
17}
18
19/**
20 * Run `fn` while holding the row's cascade lock, with a heartbeat extending

Callers 1

withCascadeLockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected