mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-25 15:52:22 +08:00
onExecutionStart
This commit is contained in:
parent
57ff7fcd67
commit
a72931df80
@ -994,6 +994,10 @@ export class ComfyApp {
|
|||||||
api.addEventListener("execution_start", ({ detail }) => {
|
api.addEventListener("execution_start", ({ detail }) => {
|
||||||
this.runningNodeId = null;
|
this.runningNodeId = null;
|
||||||
this.lastExecutionError = null
|
this.lastExecutionError = null
|
||||||
|
this.graph._nodes.forEach((node) => {
|
||||||
|
if (node.onExecutionStart)
|
||||||
|
node.onExecutionStart()
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
api.addEventListener("execution_error", ({ detail }) => {
|
api.addEventListener("execution_error", ({ detail }) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user