mirror of
https://github.com/ArdeniusAI/ComfyUI-cpu
synced 2026-11-19 01:00:36 +03:00
onExecutionStart
This commit is contained in:
1 parent
62efc78a4b
commit
dfd6489c96
1 file changed
+4
@@ -994,6 +994,10 @@ export class ComfyApp {
|
||||
api.addEventListener("execution_start", ({ detail }) => {
|
||||
this.runningNodeId = null;
|
||||
this.lastExecutionError = null
|
||||
this.graph._nodes.forEach((node) => {
|
||||
if (node.onExecutionStart)
|
||||
node.onExecutionStart()
|
||||
})
|
||||
});
|
||||
|
||||
api.addEventListener("execution_error", ({ detail }) => {
|
||||
|
||||
Reference in new issue
Block a user