MCPcopy Create free account
hub / github.com/Noumena-Network/code / nowMs

Function nowMs

src/components/Markdown.tsx:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31const RENDER_CACHE_MAX = 32;
32const RENDER_CACHE_MIN_CONTENT_LENGTH = 512;
33function nowMs() {
34 return typeof performance !== "undefined" && typeof performance.now === "function" ? performance.now() : Date.now();
35}
36
37type MarkdownRenderBlock =
38 | {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected