Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NativeScript/NativeScript
/ getNewId
Function
getNewId
packages/core/animation-frame/index.ts:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
let
lastFrameTime = 0;
20
21
function
getNewId() {
22
return
animationId++;
23
}
24
25
function
ensureNative() {
26
if
(fpsCallback) {
Callers
1
requestAnimationFrame
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected