handle execution_interrupted event added in ffec8152

This commit is contained in:
cho 2024-03-11 11:51:01 -07:00
parent 0ed72befe1
commit 4432eb2b07

View File

@ -142,6 +142,9 @@ class ComfyApi extends EventTarget {
case "execution_cached":
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
break;
case "execution_interrupted":
this.dispatchEvent(new CustomEvent("execution_interrupted", { detail: msg.data }));
break;
default:
if (this.#registered.has(msg.type)) {
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));