mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Merge branch 'addOnExecutionStart' of https://github.com/chrisgoringe/ComfyUI
This commit is contained in:
commit
2419901e6c
@ -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 }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user