MCPcopy Create free account
hub / github.com/CoderOpen/waimai / nextTick

Function nextTick

front/wxcomponents/vant/common/utils.js:14–18  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

12 return Math.min(Math.max(num, min), max);
13}
14export function nextTick(fn) {
15 setTimeout(() => {
16 fn();
17 }, 1000 / 30);
18}
19let systemInfo = null;
20export function getSystemInfoSync() {
21 if (systemInfo == null) {

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected