MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / queueEffectWithSuspense

Function queueEffectWithSuspense

web/main.js:5990–6000  ·  view source on GitHub ↗
(fn, suspense)

Source from the content-addressed store, hash-verified

5988}
5989const isSuspense = (type) => type.__isSuspense;
5990function queueEffectWithSuspense(fn, suspense) {
5991 if (suspense && suspense.pendingBranch) {
5992 if (isArray(fn)) {
5993 suspense.effects.push(...fn);
5994 } else {
5995 suspense.effects.push(fn);
5996 }
5997 } else {
5998 queuePostFlushCb(fn);
5999 }
6000}
6001const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
6002const Text = /* @__PURE__ */ Symbol.for("v-txt");
6003const Comment = /* @__PURE__ */ Symbol.for("v-cmt");

Callers

nothing calls this directly

Calls 1

queuePostFlushCbFunction · 0.85

Tested by

no test coverage detected