Commit 0c874e60 authored by ssit's avatar ssit
Browse files

Fix unhandled message "execution_cached"

parent f5d8aadb
...@@ -120,6 +120,9 @@ class ComfyApi extends EventTarget { ...@@ -120,6 +120,9 @@ class ComfyApi extends EventTarget {
case "execution_error": case "execution_error":
this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data })); this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data }));
break; break;
case "execution_cached":
this.dispatchEvent(new CustomEvent("execution_cached", { 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 }));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment