MCPcopy Create free account
hub / github.com/Comfy-Org/litegraph.js / addOnExecutedOutput

Method addOnExecutedOutput

src/LGraphNode.ts:1213–1222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1211 }
1212
1213 addOnExecutedOutput(): number {
1214 const trigS = this.findOutputSlot("onExecuted")
1215 if (trigS == -1) {
1216 this.addOutput("onExecuted", LiteGraph.ACTION, {
1217 nameLocked: true,
1218 })
1219 return this.findOutputSlot("onExecuted")
1220 }
1221 return trigS
1222 }
1223
1224 onAfterExecuteNode(param: unknown, options?: { action_call?: any }) {
1225 const trigS = this.findOutputSlot("onExecuted")

Callers 2

changeModeMethod · 0.95
findConnectByTypeSlotMethod · 0.80

Calls 2

findOutputSlotMethod · 0.95
addOutputMethod · 0.95

Tested by

no test coverage detected