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

Function isExecCancelledAfter

apps/sim/lib/table/deps.ts:48–52  ·  view source on GitHub ↗
(exec: RowExecutionMetadata | undefined, since: Date)

Source from the content-addressed store, hash-verified

46 * later windows, even though the dispatcher pre-stamped it before the stop.
47 */
48export function isExecCancelledAfter(exec: RowExecutionMetadata | undefined, since: Date): boolean {
49 if (!isExecCancelled(exec) || !exec?.cancelledAt) return false
50 const at = Date.parse(exec.cancelledAt)
51 return Number.isFinite(at) && at > since.getTime()
52}
53
54/**
55 * A dependency column counts as unmet when its value is empty OR explicitly

Callers 2

deps.test.tsFile · 0.90
dispatcherStepFunction · 0.90

Calls 2

isExecCancelledFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected