Files
code-editor/outputframe-app/injects/window-stop.ts
T
2023-06-01 22:02:03 +02:00

6 lines
144 B
TypeScript

export function setWindowStop() {
setTimeout(() => {
window.stop();
//throw new Error("window stopped");
}, 4 * 1000);
}