MCPcopy Create free account
hub / github.com/adobe/react-spectrum / checkInterrupted

Function checkInterrupted

perf/runner.mjs:357–361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

355 browser?.close().catch(() => {});
356 };
357 let checkInterrupted = () => {
358 if (interrupted) {
359 throw new Error('Run interrupted; partial samples are retained.');
360 }
361 };
362 process.once('SIGINT', interrupt);
363 process.once('SIGTERM', interrupt);
364 try {

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected