Initial commit

moved from private version control
This commit is contained in:
2025-10-19 21:12:41 +11:00
parent 5e84773bbe
commit e64f3e881e
187 changed files with 25372 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { createNodeModule } from "../../nodeTypes.js";
/**
* Resumes execution after a stop.
*/
export const resumeNode = createNodeModule(
{
id: "system_resume",
title: "Resume",
category: "System",
description: "Resume the program after it has been stopped.",
searchTags: ["resume", "continue", "system", "run"],
inputs: [{ id: "exec_in", name: "Exec", direction: "input", kind: "exec" }],
outputs: [
{ id: "exec_out", name: "Exec", direction: "output", kind: "exec" },
],
properties: [],
},
{
emitExec: ({ indent, indentLevel, emitNextExec }) => {
const lines = [`${indent(indentLevel)}resume()`];
lines.push(...emitNextExec("exec_out"));
return lines;
},
}
);