MCPcopy Create free account
hub / github.com/MMmaXingXing/mini-vue / queueFlush

Function queueFlush

code/src/runtime-core/schedulel.ts:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15};
16
17const queueFlush = () => {
18 if (isFlushPending) return;
19 isFlushPending = true;
20 // Promise.resolve().then(() => {});
21
22 nextTick(flushJobs);
23};
24
25const flushJobs = () => {
26 isFlushPending = false;

Callers 1

queueJobsFunction · 0.70

Calls 1

nextTickFunction · 0.70

Tested by

no test coverage detected