MCPcopy
hub / github.com/vuejs/core / queueAndFlush

Function queueAndFlush

packages/runtime-core/__tests__/scheduler.spec.ts:735–738  ·  view source on GitHub ↗
(hook: Function)

Source from the content-addressed store, hash-verified

733 let count = 0
734
735 const queueAndFlush = (hook: Function) => {
736 queuePostFlushCb(hook)
737 flushPostFlushCbs()
738 }
739
740 queueAndFlush(() => {
741 queueAndFlush(() => {

Callers 1

scheduler.spec.tsFile · 0.85

Calls 2

queuePostFlushCbFunction · 0.90
flushPostFlushCbsFunction · 0.90

Tested by

no test coverage detected