timerFunc() — vue Function Reference
Architecture documentation for the timerFunc() function in next-tick.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 9d85c4db_b542_0bac_e7b0_a44cf40fccfa["timerFunc()"] 6a3cc423_2c8d_a3ad_7c16_364ff040a3cb["next-tick.ts"] 9d85c4db_b542_0bac_e7b0_a44cf40fccfa -->|defined in| 6a3cc423_2c8d_a3ad_7c16_364ff040a3cb a701411a_9fc9_8597_c21b_049eea5dbe2a["nextTick()"] a701411a_9fc9_8597_c21b_049eea5dbe2a -->|calls| 9d85c4db_b542_0bac_e7b0_a44cf40fccfa style 9d85c4db_b542_0bac_e7b0_a44cf40fccfa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/util/next-tick.ts lines 43–51
timerFunc = () => {
p.then(flushCallbacks)
// In problematic UIWebViews, Promise.then doesn't completely break, but
// it can get stuck in a weird state where callbacks are pushed into the
// microtask queue but the queue isn't being flushed, until the browser
// needs to do some other work, e.g. handle a timer. Therefore we can
// "force" the microtask queue to be flushed by adding an empty timer.
if (isIOS) setTimeout(noop)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does timerFunc() do?
timerFunc() is a function in the vue codebase, defined in src/core/util/next-tick.ts.
Where is timerFunc() defined?
timerFunc() is defined in src/core/util/next-tick.ts at line 43.
What calls timerFunc()?
timerFunc() is called by 1 function(s): nextTick.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free