mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 05:56:59 +08:00
handle execution_interrupted event added in ffec8152
This commit is contained in:
parent
0ed72befe1
commit
4432eb2b07
@ -142,6 +142,9 @@ class ComfyApi extends EventTarget {
|
|||||||
case "execution_cached":
|
case "execution_cached":
|
||||||
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
|
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
|
||||||
break;
|
break;
|
||||||
|
case "execution_interrupted":
|
||||||
|
this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data }));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (this.#registered.has(msg.type)) {
|
if (this.#registered.has(msg.type)) {
|
||||||
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));
|
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user