MCPcopy Index your code
hub / github.com/coderoad/coderoad-vscode / debounce

Function debounce

src/services/testRunner/throttle.ts:17–17  ·  view source on GitHub ↗
(startTime: Date)

Source from the content-addressed store, hash-verified

15// quick solution to prevent processing multiple results
16// NOTE: may be possible to kill child process early if we migrate to tasks
17export const debounce = (startTime: Date): boolean => +lastRun < +startTime + THROTTLE_OFFSET

Callers 1

createTestRunnerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected