MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / commitNowMs

Function commitNowMs

packages/core/src/runtime/commit/transitions.ts:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33function commitNowMs(): number {
34 const perf = (globalThis as { performance?: { now?: () => number } }).performance;
35 const perfNow = perf?.now;
36 if (typeof perfNow === "function") return perfNow.call(perf);
37 return Date.now();
38}
39
40function readExitTransition(vnode: VNode): TransitionSpec | null {
41 if (

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected