MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / setInterval

Function setInterval

packages/core/timer/index.ios.ts:85–89  ·  view source on GitHub ↗
(callback: Function, milliseconds = 0, ...args)

Source from the content-addressed store, hash-verified

83}
84
85export function setInterval(callback: Function, milliseconds = 0, ...args): number {
86 const invoke = () => callback(...args);
87
88 return createTimerAndGetId(zonedCallback(invoke), milliseconds, true);
89}
90
91export const clearInterval = clearTimeout;

Callers 1

onTap3Function · 0.50

Calls 1

createTimerAndGetIdFunction · 0.85

Tested by

no test coverage detected